aboutsummaryrefslogtreecommitdiffstats
path: root/lib/CodeGen/IfConversion.cpp
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2011-05-11 03:27:17 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2011-05-11 03:27:17 +0000
commit41cdc16e7301c91d2460aa14412f592695b0d4ed (patch)
tree82cbff82eeba381415f9256cfbc02d66f8087f76 /lib/CodeGen/IfConversion.cpp
parent61512ba251097888963a8f07a35605564bcfc537 (diff)
downloadexternal_llvm-41cdc16e7301c91d2460aa14412f592695b0d4ed.zip
external_llvm-41cdc16e7301c91d2460aa14412f592695b0d4ed.tar.gz
external_llvm-41cdc16e7301c91d2460aa14412f592695b0d4ed.tar.bz2
Revert 131172 as it is causing clang to miscompile itself. I will try
to provide a reduced testcase. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@131176 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/IfConversion.cpp')
-rw-r--r--lib/CodeGen/IfConversion.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/CodeGen/IfConversion.cpp b/lib/CodeGen/IfConversion.cpp
index 8b2c981..790200b 100644
--- a/lib/CodeGen/IfConversion.cpp
+++ b/lib/CodeGen/IfConversion.cpp
@@ -265,7 +265,7 @@ bool IfConverter::runOnMachineFunction(MachineFunction &MF) {
if (!TII) return false;
// Tail merge tend to expose more if-conversion opportunities.
- BranchFolder BF(true, false);
+ BranchFolder BF(true);
bool BFChange = BF.OptimizeFunction(MF, TII,
MF.getTarget().getRegisterInfo(),
getAnalysisIfAvailable<MachineModuleInfo>());
@@ -399,7 +399,7 @@ bool IfConverter::runOnMachineFunction(MachineFunction &MF) {
BBAnalysis.clear();
if (MadeChange && IfCvtBranchFold) {
- BranchFolder BF(false, false);
+ BranchFolder BF(false);
BF.OptimizeFunction(MF, TII,
MF.getTarget().getRegisterInfo(),
getAnalysisIfAvailable<MachineModuleInfo>());