commit | 6a5e2832d0a30719602f9befe61f35ab19299de7 | [log] [tgz] |
---|---|---|
author | Evan Cheng <evan.cheng@apple.com> | Fri Jun 18 22:17:13 2010 +0000 |
committer | Evan Cheng <evan.cheng@apple.com> | Fri Jun 18 22:17:13 2010 +0000 |
tree | 26e50e5d0238ba684ddecd7320d4aa38964ad736 | |
parent | 4b8921d1c7bf17a496933dd1a80077404e14e841 [diff] [blame] |
Fix an inverted condition. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@106330 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/CodeGen/IfConversion.cpp b/lib/CodeGen/IfConversion.cpp index dad5218..36e6fc7 100644 --- a/lib/CodeGen/IfConversion.cpp +++ b/lib/CodeGen/IfConversion.cpp
@@ -369,7 +369,7 @@ Roots.clear(); BBAnalysis.clear(); - if (MadeChange && !IfCvtBranchFold) { + if (MadeChange && IfCvtBranchFold) { BranchFolder BF(false); BF.OptimizeFunction(MF, TII, MF.getTarget().getRegisterInfo(),