summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2010-06-18 22:17:13 +0000
committerEvan Cheng <evan.cheng@apple.com>2010-06-18 22:17:13 +0000
commitcf9e8a987f08488729baa5e71370327461b9d075 (patch)
treefa22fdcda7f8a8dd08a5c4e3fc210f8c41e33f3e /llvm/lib/CodeGen
parent7ba0c3fd550dcfb8a77694c1440261053537623d (diff)
downloadbcm5719-llvm-cf9e8a987f08488729baa5e71370327461b9d075.tar.gz
bcm5719-llvm-cf9e8a987f08488729baa5e71370327461b9d075.zip
Fix an inverted condition.
llvm-svn: 106330
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r--llvm/lib/CodeGen/IfConversion.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/IfConversion.cpp b/llvm/lib/CodeGen/IfConversion.cpp
index dad52184b0e..36e6fc727bf 100644
--- a/llvm/lib/CodeGen/IfConversion.cpp
+++ b/llvm/lib/CodeGen/IfConversion.cpp
@@ -369,7 +369,7 @@ bool IfConverter::runOnMachineFunction(MachineFunction &MF) {
Roots.clear();
BBAnalysis.clear();
- if (MadeChange && !IfCvtBranchFold) {
+ if (MadeChange && IfCvtBranchFold) {
BranchFolder BF(false);
BF.OptimizeFunction(MF, TII,
MF.getTarget().getRegisterInfo(),
OpenPOWER on IntegriCloud