projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
0e9ddde
)
Unbreak JIT
author
Anton Korobeynikov
<asl@math.spbu.ru>
Wed, 23 Apr 2008 18:26:03 +0000
(18:26 +0000)
committer
Anton Korobeynikov
<asl@math.spbu.ru>
Wed, 23 Apr 2008 18:26:03 +0000
(18:26 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50173
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/LLVMTargetMachine.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/LLVMTargetMachine.cpp
b/lib/CodeGen/LLVMTargetMachine.cpp
index 3927eee5035ba3a7e17917ebd0bc14f0232827ee..4004cf1e1800a3e5b0f8eca818262089f6a64bf2 100644
(file)
--- a/
lib/CodeGen/LLVMTargetMachine.cpp
+++ b/
lib/CodeGen/LLVMTargetMachine.cpp
@@
-224,6
+224,10
@@
bool LLVMTargetMachine::addPassesToEmitMachineCode(PassManagerBase &PM,
if (EnableSinking)
PM.add(createMachineSinkingPass());
+ // Run pre-ra passes.
+ if (addPreRegAlloc(PM, Fast) && PrintMachineCode)
+ PM.add(createMachineFunctionPrinterPass(cerr));
+
// Perform register allocation to convert to a concrete x86 representation
PM.add(createRegisterAllocator());