summaryrefslogtreecommitdiffstats
path: root/llvm/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
commit2a09d65979bc4cf872d56fcc88a19e4fa0034c9e (patch)
tree4d89b6b0a4b81a6f2f99c0cba1b73d5102ebff60 /llvm/lib/CodeGen/IfConversion.cpp
parent3abc9b8b7990e3e6ea4623dbed3991aac7b1601c (diff)
downloadbcm5719-llvm-2a09d65979bc4cf872d56fcc88a19e4fa0034c9e.tar.gz
bcm5719-llvm-2a09d65979bc4cf872d56fcc88a19e4fa0034c9e.zip
Revert 131172 as it is causing clang to miscompile itself. I will try
to provide a reduced testcase. llvm-svn: 131176
Diffstat (limited to 'llvm/lib/CodeGen/IfConversion.cpp')
-rw-r--r--llvm/lib/CodeGen/IfConversion.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/IfConversion.cpp b/llvm/lib/CodeGen/IfConversion.cpp
index 8b2c9816164..790200b8df5 100644
--- a/llvm/lib/CodeGen/IfConversion.cpp
+++ b/llvm/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>());
OpenPOWER on IntegriCloud