[PATCH] D45748: [RISCV] Add peepholes for Global Address lowering patterns

Sameer AbuAsal via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 29 12:30:48 PDT 2018


sabuasal updated this revision to Diff 148965.
sabuasal added a comment.

- Added comment to the peephole to mention that it might be better as a machine function pass.
- Added one extra test case to test.


https://reviews.llvm.org/D45748

Files:
  lib/Target/RISCV/RISCVISelDAGToDAG.cpp
  test/CodeGen/RISCV/hoist-global-addr-base.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D45748.148965.patch
Type: text/x-patch
Size: 14917 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180529/eaf76909/attachment.bin>


More information about the llvm-commits mailing list