mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-15 21:24:00 +00:00
- Enable x86 isel preprocessing by default unless -fast is specified.
- Also disable isel load folding if -fast. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29956 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -103,7 +103,7 @@ bool X86TargetMachine::addPassesToEmitFile(PassManager &PM, std::ostream &Out,
|
||||
PM.add(createUnreachableBlockEliminationPass());
|
||||
|
||||
// Install an instruction selector.
|
||||
PM.add(createX86ISelDag(*this));
|
||||
PM.add(createX86ISelDag(*this, Fast));
|
||||
|
||||
// Print the instruction selected machine code...
|
||||
if (PrintMachineCode)
|
||||
@ -168,7 +168,7 @@ void X86JITInfo::addPassesToJITCompile(FunctionPassManager &PM) {
|
||||
PM.add(createUnreachableBlockEliminationPass());
|
||||
|
||||
// Install an instruction selector.
|
||||
PM.add(createX86ISelDag(TM));
|
||||
PM.add(createX86ISelDag(TM, false));
|
||||
|
||||
// Print the instruction selected machine code...
|
||||
if (PrintMachineCode)
|
||||
|
Reference in New Issue
Block a user