summaryrefslogtreecommitdiff
path: root/lib/Target/PTX
diff options
context:
space:
mode:
authorAndrew Trick <atrick@apple.com>2012-02-08 21:22:57 +0000
committerAndrew Trick <atrick@apple.com>2012-02-08 21:22:57 +0000
commit32986572bfe5a30c500d03b8d55174720f08f0bf (patch)
tree1d5437f1a6e17bc43c0c0d534d34a73a0c5365f0 /lib/Target/PTX
parentc7d081b5946b9ff9f7400d5b41f36cad3fc317aa (diff)
Move pass configuration out of pass constructors: StackSlotColoring.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@150097 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/PTX')
-rw-r--r--lib/Target/PTX/PTXTargetMachine.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/PTX/PTXTargetMachine.cpp b/lib/Target/PTX/PTXTargetMachine.cpp
index 6c7f7b1c15..f96f3e3be0 100644
--- a/lib/Target/PTX/PTXTargetMachine.cpp
+++ b/lib/Target/PTX/PTXTargetMachine.cpp
@@ -326,7 +326,7 @@ bool PTXPassConfig::addCodeGenPasses(MCContext *&OutContext) {
if (getOptLevel() != CodeGenOpt::None) {
// FIXME: Re-enable coloring with register when it's capable of adding
// kill markers.
- PM.add(createStackSlotColoringPass(false));
+ PM.add(createStackSlotColoringPass());
// FIXME: Post-RA LICM has asserts that fire on virtual registers.
// Run post-ra machine LICM to hoist reloads / remats.