Skip to content

Commit 180a2e5

Browse files
authored
Add comment back
1 parent 99958a6 commit 180a2e5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

llvm/lib/Target/ARM/ARMInstrInfo.td

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2202,6 +2202,9 @@ def JUMPTABLE_TBH :
22022202
PseudoInst<(outs), (ins cpinst_operand:$instid, cpinst_operand:$cpidx,
22032203
i32imm:$size), NoItinerary, []>;
22042204

2205+
// FIXME: Marking these as hasSideEffects is necessary to prevent machine DCE
2206+
// from removing one half of the matched pairs. That breaks PEI, which assumes
2207+
// these will always be in pairs, and asserts if it finds otherwise. Better way?
22052208
let Defs = [SP], Uses = [SP], hasSideEffects = 1 in {
22062209
def ADJCALLSTACKUP :
22072210
PseudoInst<(outs), (ins i32imm:$amt1, i32imm:$amt2, pred:$p), NoItinerary,

0 commit comments

Comments
 (0)