summaryrefslogtreecommitdiff
path: root/lib/CodeGen/RegisterCoalescer.cpp
diff options
context:
space:
mode:
authorAndrew Trick <atrick@apple.com>2012-11-13 22:19:48 +0000
committerAndrew Trick <atrick@apple.com>2012-11-13 22:19:48 +0000
commita6aae0273af9963eaf58aa548f7a918f100e67c7 (patch)
treeac39428db0c0b968c08b4458193995f05df0160e /lib/CodeGen/RegisterCoalescer.cpp
parent3106aa125eb2756083e950362b6769b87cb3430a (diff)
downloadllvm-a6aae0273af9963eaf58aa548f7a918f100e67c7.tar.gz
llvm-a6aae0273af9963eaf58aa548f7a918f100e67c7.tar.bz2
llvm-a6aae0273af9963eaf58aa548f7a918f100e67c7.tar.xz
Revert -join-splitedges to a boolean cmd line option.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@167880 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/RegisterCoalescer.cpp')
-rw-r--r--lib/CodeGen/RegisterCoalescer.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/CodeGen/RegisterCoalescer.cpp b/lib/CodeGen/RegisterCoalescer.cpp
index b7839d6b0e..7151164c42 100644
--- a/lib/CodeGen/RegisterCoalescer.cpp
+++ b/lib/CodeGen/RegisterCoalescer.cpp
@@ -65,10 +65,9 @@ EnableJoining("join-liveintervals",
cl::init(true));
// Temporary flag to test critical edge unsplitting.
-static cl::opt<cl::boolOrDefault>
+static cl::opt<bool>
EnableJoinSplits("join-splitedges",
- cl::desc("Coalesce copies on split edges (default=subtarget)"),
- cl::init(cl::BOU_UNSET), cl::Hidden);
+ cl::desc("Coalesce copies on split edges (default=subtarget)"), cl::Hidden);
// Temporary flag to test global copy optimization.
static cl::opt<cl::boolOrDefault>