[PATCH] D62857: [RISCV] Prevent re-ordering some adds after shifts

Sam Elliott via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 17 06:49:34 PDT 2019


lenary updated this revision to Diff 205064.
lenary added a comment.

Address review feedback

- Introduce new `getIntMatCost(const APInt &Val, bool IsRV64)` API, which can materialise much wider constants than the previous method.
- Clarify and check grammar in comments.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D62857

Files:
  llvm/lib/Target/RISCV/RISCVISelLowering.cpp
  llvm/lib/Target/RISCV/RISCVISelLowering.h
  llvm/lib/Target/RISCV/Utils/RISCVMatInt.cpp
  llvm/lib/Target/RISCV/Utils/RISCVMatInt.h
  llvm/test/CodeGen/RISCV/add-before-shl.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D62857.205064.patch
Type: text/x-patch
Size: 7497 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190617/bc2dd98e/attachment.bin>


More information about the llvm-commits mailing list