mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-04-07 01:38:26 +00:00
Make the JIT default to the DAG isel instead of the pattern isel, like LLC.
The Pattern isel has some strange memory corruption issues going on. :( This should have been converted over anyway, but it got forgotten somehow when switching to the dag isel. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23523 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
473a99073c
commit
f13befb456
@ -145,7 +145,10 @@ void PowerPCJITInfo::addPassesToJITCompile(FunctionPassManager &PM) {
|
||||
PM.add(createUnreachableBlockEliminationPass());
|
||||
|
||||
// Install an instruction selector.
|
||||
PM.add(createPPC32ISelPattern(TM));
|
||||
if (!DisablePPCDAGDAG)
|
||||
PM.add(createPPC32ISelDag(TM));
|
||||
else
|
||||
PM.add(createPPC32ISelPattern(TM));
|
||||
|
||||
PM.add(createRegisterAllocator());
|
||||
PM.add(createPrologEpilogCodeInserter());
|
||||
|
Loading…
x
Reference in New Issue
Block a user