[PATCH] D124231: [RISCV] Merge addi into load/store as there is a ADD between them

Hsiangkai Wang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 21 23:40:09 PDT 2022


HsiangKai updated this revision to Diff 424385.
HsiangKai added a comment.

It is not safe to do this peephole for ADD*W.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D124231/new/

https://reviews.llvm.org/D124231

Files:
  llvm/lib/Target/RISCV/RISCVISelDAGToDAG.cpp
  llvm/test/CodeGen/RISCV/large-stack.ll
  llvm/test/CodeGen/RISCV/mem.ll
  llvm/test/CodeGen/RISCV/mem64.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D124231.424385.patch
Type: text/x-patch
Size: 7078 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220422/4d5f3f8f/attachment.bin>


More information about the llvm-commits mailing list