commit | cf9e8a987f08488729baa5e71370327461b9d075 | [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 | fa22fdcda7f8a8dd08a5c4e3fc210f8c41e33f3e | |
parent | 7ba0c3fd550dcfb8a77694c1440261053537623d [diff] [blame] |
Fix an inverted condition. llvm-svn: 106330
diff --git a/llvm/lib/CodeGen/IfConversion.cpp b/llvm/lib/CodeGen/IfConversion.cpp index dad52184..36e6fc7 100644 --- a/llvm/lib/CodeGen/IfConversion.cpp +++ b/llvm/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(),