mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-24 23:28:41 +00:00
Add direct support for integer select instructions, though we still don't support
folding compares into the select yet. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12553 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -68,7 +68,7 @@ bool X86TargetMachine::addPassesToEmitAssembly(PassManager &PM,
|
||||
PM.add(createLowerSwitchPass());
|
||||
|
||||
// FIXME: Add support for the select instruction natively.
|
||||
PM.add(createLowerSelectPass());
|
||||
PM.add(createLowerSelectPass(true));
|
||||
|
||||
if (NoPatternISel)
|
||||
PM.add(createX86SimpleInstructionSelector(*this));
|
||||
@@ -128,7 +128,7 @@ void X86JITInfo::addPassesToJITCompile(FunctionPassManager &PM) {
|
||||
PM.add(createLowerSwitchPass());
|
||||
|
||||
// FIXME: Add support for the select instruction natively.
|
||||
PM.add(createLowerSelectPass());
|
||||
PM.add(createLowerSelectPass(true));
|
||||
|
||||
if (NoPatternISel)
|
||||
PM.add(createX86SimpleInstructionSelector(TM));
|
||||
|
Reference in New Issue
Block a user