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:
f29495a
)
allow sinking to be enabled for the jit
author
Chris Lattner
<sabre@nondot.org>
Sat, 5 Jan 2008 06:14:16 +0000
(06:14 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Sat, 5 Jan 2008 06:14:16 +0000
(06:14 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45624
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 15c1d67f3fc206af4c4148f3fcae89f24aa76468..d4533351447129ac4317fcd3c3c0306135516693 100644
(file)
--- a/
lib/CodeGen/LLVMTargetMachine.cpp
+++ b/
lib/CodeGen/LLVMTargetMachine.cpp
@@
-193,6
+193,9
@@
bool LLVMTargetMachine::addPassesToEmitMachineCode(FunctionPassManager &PM,
if (PerformLICM)
PM.add(createMachineLICMPass());
+
+ if (EnableSinking)
+ PM.add(createMachineSinkingPass());
// Perform register allocation to convert to a concrete x86 representation
PM.add(createRegisterAllocator());