forked from OSchip/llvm-project
[NFC][PowerPC] Remove the dead conditions in the if(cond)
This commit is contained in:
parent
b48b4ed1a0
commit
eba7cbd3d0
|
@ -11066,9 +11066,7 @@ PPCTargetLowering::EmitInstrWithCustomInserter(MachineInstr &MI,
|
|||
DebugLoc dl = MI.getDebugLoc();
|
||||
TII->insertSelect(*BB, MI, dl, MI.getOperand(0).getReg(), Cond,
|
||||
MI.getOperand(2).getReg(), MI.getOperand(3).getReg());
|
||||
} else if (MI.getOpcode() == PPC::SELECT_CC_I4 ||
|
||||
MI.getOpcode() == PPC::SELECT_CC_I8 ||
|
||||
MI.getOpcode() == PPC::SELECT_CC_F4 ||
|
||||
} else if (MI.getOpcode() == PPC::SELECT_CC_F4 ||
|
||||
MI.getOpcode() == PPC::SELECT_CC_F8 ||
|
||||
MI.getOpcode() == PPC::SELECT_CC_F16 ||
|
||||
MI.getOpcode() == PPC::SELECT_CC_QFRC ||
|
||||
|
@ -11080,8 +11078,6 @@ PPCTargetLowering::EmitInstrWithCustomInserter(MachineInstr &MI,
|
|||
MI.getOpcode() == PPC::SELECT_CC_VSRC ||
|
||||
MI.getOpcode() == PPC::SELECT_CC_SPE4 ||
|
||||
MI.getOpcode() == PPC::SELECT_CC_SPE ||
|
||||
MI.getOpcode() == PPC::SELECT_I4 ||
|
||||
MI.getOpcode() == PPC::SELECT_I8 ||
|
||||
MI.getOpcode() == PPC::SELECT_F4 ||
|
||||
MI.getOpcode() == PPC::SELECT_F8 ||
|
||||
MI.getOpcode() == PPC::SELECT_F16 ||
|
||||
|
|
Loading…
Reference in New Issue