[PATCH] D39848: [RISCV] Support lowering FrameIndex
Alex Bradbury via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 21 03:53:38 PST 2017
asb updated this revision to Diff 123759.
asb marked an inline comment as done.
asb added a comment.
Rebased and updated to implement getFrameIndexReference.
@kparzysz honestly I don't really want the special load/store instructions, but was unable to write a pattern that would allow frameindex+offset to be matched by the normal load/store. Perhaps I'm missing something obvious?
https://reviews.llvm.org/D39848
Files:
lib/Target/RISCV/RISCVFrameLowering.cpp
lib/Target/RISCV/RISCVFrameLowering.h
lib/Target/RISCV/RISCVISelDAGToDAG.cpp
lib/Target/RISCV/RISCVInstrInfo.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.123759.patch
Type: text/x-patch
Size: 30183 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171121/fa341da6/attachment.bin>
More information about the llvm-commits
mailing list