[PATCH] D108287: [AArch64] Correct store ReadAdrBase operand

Dave Green via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 18 03:58:14 PDT 2021


dmgreen created this revision.
dmgreen added reviewers: NickGuy, SjoerdMeijer, fhahn, t.p.northover.
Herald added subscribers: gbedwell, hiraditya, kristof.beyls.
Herald added a reviewer: andreadb.
dmgreen requested review of this revision.
Herald added a project: LLVM.

It appears that the Read operand for stores was being placed on the first operand (the stored value) not the address base. This adds a ReadST for the stored value operand, allowing the ReadAdrBase to correctly act upon the address.


https://reviews.llvm.org/D108287

Files:
  llvm/lib/Target/AArch64/AArch64InstrFormats.td
  llvm/lib/Target/AArch64/AArch64SchedA53.td
  llvm/lib/Target/AArch64/AArch64SchedA55.td
  llvm/lib/Target/AArch64/AArch64SchedA57.td
  llvm/lib/Target/AArch64/AArch64SchedA64FX.td
  llvm/lib/Target/AArch64/AArch64SchedCyclone.td
  llvm/lib/Target/AArch64/AArch64SchedExynosM3.td
  llvm/lib/Target/AArch64/AArch64SchedExynosM4.td
  llvm/lib/Target/AArch64/AArch64SchedExynosM5.td
  llvm/lib/Target/AArch64/AArch64SchedFalkor.td
  llvm/lib/Target/AArch64/AArch64SchedKryo.td
  llvm/lib/Target/AArch64/AArch64SchedTSV110.td
  llvm/lib/Target/AArch64/AArch64SchedThunderX.td
  llvm/lib/Target/AArch64/AArch64SchedThunderX2T99.td
  llvm/lib/Target/AArch64/AArch64SchedThunderX3T110.td
  llvm/lib/Target/AArch64/AArch64Schedule.td
  llvm/test/tools/llvm-mca/AArch64/Cortex/A55-store-readadv.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D108287.367163.patch
Type: text/x-patch
Size: 71391 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210818/07cbc5d5/attachment-0001.bin>


More information about the llvm-commits mailing list