aboutsummaryrefslogtreecommitdiffstats
path: root/lib/CodeGen
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
parent3106aa125eb2756083e950362b6769b87cb3430a (diff)
downloadexternal_llvm-a6aae0273af9963eaf58aa548f7a918f100e67c7.zip
external_llvm-a6aae0273af9963eaf58aa548f7a918f100e67c7.tar.gz
external_llvm-a6aae0273af9963eaf58aa548f7a918f100e67c7.tar.bz2
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')
-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 b7839d6..7151164 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>