[PATCH] D116890: [RISCV] Add initial support for getRegUsageForType and getNumberOfRegisters

Kito Cheng via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Jan 16 02:30:01 PST 2022


kito-cheng updated this revision to Diff 400363.
kito-cheng added a comment.
Herald added a subscriber: alextsao1999.

Changes:

- Use BasicTTIImplBase::getRegUsageForType for non-vector types.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D116890

Files:
  llvm/lib/Target/RISCV/RISCVSubtarget.h
  llvm/lib/Target/RISCV/RISCVTargetTransformInfo.cpp
  llvm/lib/Target/RISCV/RISCVTargetTransformInfo.h
  llvm/test/Transforms/LoopVectorize/RISCV/reg-usage.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D116890.400363.patch
Type: text/x-patch
Size: 6247 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220116/2eb84917/attachment.bin>


More information about the llvm-commits mailing list