diff options
author | Evan Cheng <evan.cheng@apple.com> | 2010-06-18 22:17:13 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2010-06-18 22:17:13 +0000 |
commit | 6a5e2832d0a30719602f9befe61f35ab19299de7 (patch) | |
tree | 26e50e5d0238ba684ddecd7320d4aa38964ad736 /lib/CodeGen/IfConversion.cpp | |
parent | 4b8921d1c7bf17a496933dd1a80077404e14e841 (diff) |
Fix an inverted condition.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@106330 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/IfConversion.cpp')
-rw-r--r-- | lib/CodeGen/IfConversion.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/IfConversion.cpp b/lib/CodeGen/IfConversion.cpp index dad52184b0..36e6fc727b 100644 --- a/lib/CodeGen/IfConversion.cpp +++ b/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(), |