Skip to content

Commit

Permalink
[TableGen] Handle frameindex/tframeindex
Browse files Browse the repository at this point in the history
  • Loading branch information
redstar committed Apr 29, 2024
1 parent b3a2a0d commit 28d55ce
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions llvm/lib/Target/M88k/M88kInstrInfo.td
Original file line number Diff line number Diff line change
Expand Up @@ -466,6 +466,8 @@ def : Pat<(ptradd GPROpnd:$rs1, uimm16:$imm),
def : Pat<(ptradd GPROpnd:$rs1, GPROpnd:$rs2),
(ADDUrr GPROpnd:$rs1, GPROpnd:$rs2)>;

def : Pat<(i32 frameindex:$fi), (ADDri tframeindex:$fi, R0)>;

// ---------------------------------------------------------------------------//
// Materialize immediates & constants.
// ---------------------------------------------------------------------------//
Expand Down

0 comments on commit 28d55ce

Please sign in to comment.