mirror of
https://github.com/RPCSX/llvm.git
synced 2025-03-06 20:09:02 +00:00
ARM: Remove unneeded check for MI->hasPostISelHook()
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@218459 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
bdaf056545
commit
8361c84894
@ -7668,12 +7668,6 @@ ARMTargetLowering::EmitInstrWithCustomInserter(MachineInstr *MI,
|
||||
|
||||
void ARMTargetLowering::AdjustInstrPostInstrSelection(MachineInstr *MI,
|
||||
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();
|
||||
// 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
|
||||
|
Loading…
x
Reference in New Issue
Block a user