[llvm-commits] CVS: llvm/lib/Target/PowerPC/PowerPCTargetMachine.cpp
Chris Lattner
lattner at cs.uiuc.edu
Thu Sep 29 10:31:15 PDT 2005
Changes in directory llvm/lib/Target/PowerPC:
PowerPCTargetMachine.cpp updated: 1.68 -> 1.69
---
Log message:
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.
---
Diffs of the changes: (+4 -1)
PowerPCTargetMachine.cpp | 5 ++++-
1 files changed, 4 insertions(+), 1 deletion(-)
Index: llvm/lib/Target/PowerPC/PowerPCTargetMachine.cpp
diff -u llvm/lib/Target/PowerPC/PowerPCTargetMachine.cpp:1.68 llvm/lib/Target/PowerPC/PowerPCTargetMachine.cpp:1.69
--- llvm/lib/Target/PowerPC/PowerPCTargetMachine.cpp:1.68 Mon Sep 26 19:14:41 2005
+++ llvm/lib/Target/PowerPC/PowerPCTargetMachine.cpp Thu Sep 29 12:31:03 2005
@@ -145,7 +145,10 @@
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());
More information about the llvm-commits
mailing list