forked from OSchip/llvm-project
ARM: Remove unneeded check for MI->hasPostISelHook()
llvm-svn: 218459
This commit is contained in:
parent
529efcf9d0
commit
1fa1ce6112
|
@ -7668,12 +7668,6 @@ ARMTargetLowering::EmitInstrWithCustomInserter(MachineInstr *MI,
|
||||||
|
|
||||||
void ARMTargetLowering::AdjustInstrPostInstrSelection(MachineInstr *MI,
|
void ARMTargetLowering::AdjustInstrPostInstrSelection(MachineInstr *MI,
|
||||||
SDNode *Node) const {
|
SDNode *Node) const {
|
||||||
if (!MI->hasPostISelHook()) {
|
|
||||||
assert(!convertAddSubFlagsOpcode(MI->getOpcode()) &&
|
|
||||||
"Pseudo flag-setting opcodes must be marked with 'hasPostISelHook'");
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
const MCInstrDesc *MCID = &MI->getDesc();
|
const MCInstrDesc *MCID = &MI->getDesc();
|
||||||
// Adjust potentially 's' setting instructions after isel, i.e. ADC, SBC, RSB,
|
// Adjust potentially 's' setting instructions after isel, i.e. ADC, SBC, RSB,
|
||||||
// RSC. Coming out of isel, they have an implicit CPSR def, but the optional
|
// RSC. Coming out of isel, they have an implicit CPSR def, but the optional
|
||||||
|
|
Loading…
Reference in New Issue