[PATCH] D51537: Extend hasStoreToStackSlot with list of FI accesses.

Sander de Smalen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 31 05:45:03 PDT 2018


sdesmalen created this revision.
sdesmalen added reviewers: t.p.northover, gberry, thegameg, rengolin.
Herald added subscribers: kristof.beyls, qcolombet, MatzeB.
Herald added a reviewer: javed.absar.

For instructions that spill/fill to and from multiple frame-indices
in a single instruction, hasStoreToStackSlot and hasLoadFromStackSlot
should return an array of accesses, rather than just the first encounter
of such an access.

This better describes FI accesses for AArch64 (paired) LDP/STP 
instructions.


https://reviews.llvm.org/D51537

Files:
  include/llvm/CodeGen/TargetInstrInfo.h
  lib/CodeGen/AsmPrinter/AsmPrinter.cpp
  lib/CodeGen/LiveDebugValues.cpp
  lib/CodeGen/RegAllocGreedy.cpp
  lib/CodeGen/TargetInstrInfo.cpp
  lib/Target/ARM/ARMBaseInstrInfo.cpp
  lib/Target/Hexagon/HexagonInstrInfo.cpp
  lib/Target/Hexagon/HexagonInstrInfo.h
  lib/Target/Lanai/LanaiInstrInfo.cpp
  lib/Target/X86/X86InstrInfo.cpp
  test/CodeGen/AArch64/unfold-masked-merge-scalar-constmask-innerouter.ll
  test/CodeGen/AArch64/unfold-masked-merge-scalar-constmask-interleavedbits.ll
  test/CodeGen/AArch64/unfold-masked-merge-scalar-constmask-interleavedbytehalves.ll
  test/CodeGen/AArch64/unfold-masked-merge-scalar-constmask-lowhigh.ll
  test/CodeGen/AArch64/unfold-masked-merge-scalar-variablemask.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D51537.163514.patch
Type: text/x-patch
Size: 23490 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180831/3dd49acb/attachment.bin>


More information about the llvm-commits mailing list