diff options
author | Owen Anderson <resistor@mac.com> | 2008-08-05 00:27:28 +0000 |
---|---|---|
committer | Owen Anderson <resistor@mac.com> | 2008-08-05 00:27:28 +0000 |
commit | 6ac8df7f611b5b129af7192ad931862fc8169aae (patch) | |
tree | ab11c3456d01a6f0c9ed1db15348495724f7eb0f /lib/CodeGen | |
parent | 2b85dc3544f4611d07bd1fdf2fe4081e3b0793fd (diff) | |
download | external_llvm-6ac8df7f611b5b129af7192ad931862fc8169aae.zip external_llvm-6ac8df7f611b5b129af7192ad931862fc8169aae.tar.gz external_llvm-6ac8df7f611b5b129af7192ad931862fc8169aae.tar.bz2 |
This option doesn't need to be a target option. It can be in SDISel instead.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@54336 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen')
-rw-r--r-- | lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp b/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp index 6299bc4..b3e18f6 100644 --- a/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp +++ b/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 |