Return false if we're not going to do anything.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@209455 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Eric Christopher 2014-05-22 17:49:33 +00:00
parent 351c658fc2
commit bd0283a5f2

View File

@ -780,7 +780,7 @@ bool EarlyIfConverter::runOnMachineFunction(MachineFunction &MF) {
if (!MF.getTarget()
.getSubtarget<TargetSubtargetInfo>()
.enableEarlyIfConversion())
return true;
return false;
TII = MF.getTarget().getInstrInfo();
TRI = MF.getTarget().getRegisterInfo();