summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
diff options
context:
space:
mode:
authorOwen Anderson <resistor@mac.com>2008-08-05 00:27:28 +0000
committerOwen Anderson <resistor@mac.com>2008-08-05 00:27:28 +0000
commitbbeb8f08076a89621865b4743b7aa3c9eb67432a (patch)
treef0d84a3b8b4f25e22bcd40dc1eb45b1a8173bbe4 /llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
parent81f7f2904cf15fa74f9ab051eb3ca288442a92c7 (diff)
downloadbcm5719-llvm-bbeb8f08076a89621865b4743b7aa3c9eb67432a.tar.gz
bcm5719-llvm-bbeb8f08076a89621865b4743b7aa3c9eb67432a.zip
This option doesn't need to be a target option. It can be in SDISel instead.
llvm-svn: 54336
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
index 6299bc4b851..b3e18f60dad 100644
--- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
@@ -53,6 +53,9 @@ static cl::opt<bool>
EnableValueProp("enable-value-prop", cl::Hidden);
static cl::opt<bool>
EnableLegalizeTypes("enable-legalize-types", cl::Hidden);
+static cl::opt<bool>
+DisableCorrectBranchFolding("disable-correct-folding", cl::init(false),
+ cl::Hidden);
#ifndef NDEBUG
OpenPOWER on IntegriCloud