projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Rather than having a different custom legalization
[oota-llvm.git]
/
lib
/
CodeGen
/
LLVMTargetMachine.cpp
diff --git
a/lib/CodeGen/LLVMTargetMachine.cpp
b/lib/CodeGen/LLVMTargetMachine.cpp
index 73f2902d9a060c0c5582ef33a412242c62e8090e..97fe35c2f4b09c72ab3d2821a905b7e65b43c2ca 100644
(file)
--- a/
lib/CodeGen/LLVMTargetMachine.cpp
+++ b/
lib/CodeGen/LLVMTargetMachine.cpp
@@
-38,10
+38,6
@@
static cl::opt<bool>
EnableSinking("enable-sinking", cl::init(false), cl::Hidden,
cl::desc("Perform sinking on machine code"));
static cl::opt<bool>
EnableSinking("enable-sinking", cl::init(false), cl::Hidden,
cl::desc("Perform sinking on machine code"));
static cl::opt<bool>
-EnableStackColoring("stack-coloring",
- cl::init(true), cl::Hidden,
- cl::desc("Perform stack slot coloring"));
-static cl::opt<bool>
EnableLICM("machine-licm",
cl::init(false), cl::Hidden,
cl::desc("Perform loop-invariant code motion on machine code"));
EnableLICM("machine-licm",
cl::init(false), cl::Hidden,
cl::desc("Perform loop-invariant code motion on machine code"));
@@
-103,7
+99,7
@@
LLVMTargetMachine::addPassesToEmitFile(PassManagerBase &PM,
PM.add(createRegisterAllocator());
// Perform stack slot coloring.
PM.add(createRegisterAllocator());
// Perform stack slot coloring.
- if (
EnableStackColoring
)
+ if (
!Fast
)
PM.add(createStackSlotColoringPass());
if (PrintMachineCode) // Print the register-allocated code
PM.add(createStackSlotColoringPass());
if (PrintMachineCode) // Print the register-allocated code
@@
-240,7
+236,7
@@
bool LLVMTargetMachine::addPassesToEmitMachineCode(PassManagerBase &PM,
PM.add(createRegisterAllocator());
// Perform stack slot coloring.
PM.add(createRegisterAllocator());
// Perform stack slot coloring.
- if (
EnableStackColoring
)
+ if (
!Fast
)
PM.add(createStackSlotColoringPass());
if (PrintMachineCode)
PM.add(createStackSlotColoringPass());
if (PrintMachineCode)