[llvm-commits] [llvm] r50173 - /llvm/trunk/lib/CodeGen/LLVMTargetMachine.cpp
Anton Korobeynikov
asl at math.spbu.ru
Wed Apr 23 11:26:03 PDT 2008
Author: asl
Date: Wed Apr 23 13:26:03 2008
New Revision: 50173
URL: http://llvm.org/viewvc/llvm-project?rev=50173&view=rev
Log:
Unbreak JIT
Modified:
llvm/trunk/lib/CodeGen/LLVMTargetMachine.cpp
Modified: llvm/trunk/lib/CodeGen/LLVMTargetMachine.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/LLVMTargetMachine.cpp?rev=50173&r1=50172&r2=50173&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/LLVMTargetMachine.cpp (original)
+++ llvm/trunk/lib/CodeGen/LLVMTargetMachine.cpp Wed Apr 23 13:26:03 2008
@@ -224,6 +224,10 @@
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());
More information about the llvm-commits
mailing list