diff options
author | Owen Anderson <resistor@mac.com> | 2008-08-04 23:54:43 +0000 |
---|---|---|
committer | Owen Anderson <resistor@mac.com> | 2008-08-04 23:54:43 +0000 |
commit | bd3ba461eb5578a81ba09ff7bd7eb271d1130196 (patch) | |
tree | f97e9269835f2a482c4f28f14e48de796079d007 /include/llvm/Target/TargetOptions.h | |
parent | b42a6261225e5a1b9a75b9aa11732944046d7999 (diff) | |
download | llvm-bd3ba461eb5578a81ba09ff7bd7eb271d1130196.tar.gz llvm-bd3ba461eb5578a81ba09ff7bd7eb271d1130196.tar.bz2 llvm-bd3ba461eb5578a81ba09ff7bd7eb271d1130196.tar.xz |
- Fix SelectionDAG to generate correct CFGs.
- Add a basic machine-level dead block eliminator.
These two have to go together, since many other parts of the code generator are unable to handle the unreachable blocks otherwise created.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@54333 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Target/TargetOptions.h')
-rw-r--r-- | include/llvm/Target/TargetOptions.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/llvm/Target/TargetOptions.h b/include/llvm/Target/TargetOptions.h index fa739507db..6c3d88a43c 100644 --- a/include/llvm/Target/TargetOptions.h +++ b/include/llvm/Target/TargetOptions.h @@ -101,6 +101,11 @@ namespace llvm { /// DisableJumpTables - This flag indicates jump tables should not be /// generated. extern bool DisableJumpTables; + + /// DisableCorrectBranchFolding - This flag indicates whether the instruction + /// selector should take care to update the CFG properly when + /// folding branches. + extern bool DisableCorrectBranchFolding; } // End llvm namespace #endif |