[PATCH] D63433: [RISCV] Add RISCV-specific TargetTransformInfo

Sam Elliott via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 21 06:10:53 PDT 2019


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

Address Review Comments:

- Make getIntMatCost significantly more conservative, to avoid regressions.
- Make getIntMatCost prevent hoisting for all intrinsics to avoid a bug.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D63433

Files:
  llvm/lib/Target/RISCV/CMakeLists.txt
  llvm/lib/Target/RISCV/LLVMBuild.txt
  llvm/lib/Target/RISCV/RISCVTargetMachine.cpp
  llvm/lib/Target/RISCV/RISCVTargetMachine.h
  llvm/lib/Target/RISCV/RISCVTargetTransformInfo.cpp
  llvm/lib/Target/RISCV/RISCVTargetTransformInfo.h
  llvm/test/CodeGen/RISCV/imm-cse.ll
  llvm/test/Transforms/ConstantHoisting/RISCV/immediates.ll
  llvm/test/Transforms/ConstantHoisting/RISCV/lit.local.cfg

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D63433.205981.patch
Type: text/x-patch
Size: 10310 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190621/e807be6d/attachment.bin>


More information about the llvm-commits mailing list