[PATCH] D39848: [RISCV] Support lowering FrameIndex

Alex Bradbury via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 27 13:10:15 PST 2017


asb updated this revision to Diff 124451.
asb edited the summary of this revision.
asb added a comment.

Rewrite to avoid the need for the fake *_FI instructions. I also move isOrEquivalentToAdd from HexagonISelDAGToDAG to the SelectionDAGISel base class, so we can make use of it.


https://reviews.llvm.org/D39848

Files:
  include/llvm/CodeGen/SelectionDAGISel.h
  lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
  lib/Target/Hexagon/HexagonISelDAGToDAG.cpp
  lib/Target/Hexagon/HexagonISelDAGToDAG.h
  lib/Target/RISCV/RISCVFrameLowering.cpp
  lib/Target/RISCV/RISCVFrameLowering.h
  lib/Target/RISCV/RISCVISelDAGToDAG.cpp
  lib/Target/RISCV/RISCVInstrInfo.td
  lib/Target/RISCV/RISCVRegisterInfo.cpp
  test/CodeGen/RISCV/blockaddress.ll
  test/CodeGen/RISCV/bswap-ctlz-cttz-ctpop.ll
  test/CodeGen/RISCV/calls.ll
  test/CodeGen/RISCV/div.ll
  test/CodeGen/RISCV/frame.ll
  test/CodeGen/RISCV/indirectbr.ll
  test/CodeGen/RISCV/mul.ll
  test/CodeGen/RISCV/rem.ll
  test/CodeGen/RISCV/shifts.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D39848.124451.patch
Type: text/x-patch
Size: 32735 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171127/16ce1079/attachment.bin>


More information about the llvm-commits mailing list