mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-27 06:54:30 +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. llvm-svn: 23523
This commit is contained in:
parent
9fbe5b6a51
commit
cb09b023d3
@ -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