projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bdaf056
)
ARM: Remove unneeded check for MI->hasPostISelHook()
author
Tom Stellard
<thomas.stellard@amd.com>
Thu, 25 Sep 2014 18:59:23 +0000
(18:59 +0000)
committer
Tom Stellard
<thomas.stellard@amd.com>
Thu, 25 Sep 2014 18:59:23 +0000
(18:59 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@218459
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/ARM/ARMISelLowering.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/ARM/ARMISelLowering.cpp
b/lib/Target/ARM/ARMISelLowering.cpp
index ec59ec50a1da9b3aa378893b302b4c7e2e7860b9..425732cb7d25434a42fa1620516ddab4b64fe667 100644
(file)
--- a/
lib/Target/ARM/ARMISelLowering.cpp
+++ b/
lib/Target/ARM/ARMISelLowering.cpp
@@
-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