[PATCH] D45748: [RISCV] Separate base from offset in lowerGlobalAddress
Sameer AbuAsal via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed May 9 18:51:52 PDT 2018
sabuasal updated this revision to Diff 146050.
sabuasal added a comment.
Herald added a subscriber: mgrang.
- Updated tests and formatting.
- Added peepholes to handle corner cases, handling these cases with dag combiner doesn't work for uses spanning multiple basic blocks (dag combiner works on BB level),
https://reviews.llvm.org/D45748
Files:
lib/Target/RISCV/RISCVISelDAGToDAG.cpp
lib/Target/RISCV/RISCVISelLowering.cpp
test/CodeGen/RISCV/byval.ll
test/CodeGen/RISCV/double-mem.ll
test/CodeGen/RISCV/float-mem.ll
test/CodeGen/RISCV/fp128.ll
test/CodeGen/RISCV/hoist-global-addr-base.ll
test/CodeGen/RISCV/mem.ll
test/CodeGen/RISCV/wide-mem.ll
test/CodeGen/RISCV/zext-with-load-is-free.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D45748.146050.patch
Type: text/x-patch
Size: 21878 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180510/e8085960/attachment.bin>
More information about the llvm-commits
mailing list