[PATCH] D129735: [RISCV] Add new pass to transform undef to pseudo for vector values.

Piyou Chen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 14 05:09:37 PST 2023


BeMg updated this revision to Diff 497281.
BeMg added a comment.

1. Skip undef-init pseudo in ASMEmitter instead of removing it in PseudoExpend pass
2. Update operands with defs() or uses()
3. Fix some typo
4. Use variable to represent Info.UsedLanes & ~Info.DefinedLanes


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D129735

Files:
  llvm/lib/Target/RISCV/CMakeLists.txt
  llvm/lib/Target/RISCV/RISCV.h
  llvm/lib/Target/RISCV/RISCVAsmPrinter.cpp
  llvm/lib/Target/RISCV/RISCVExpandPseudoInsts.cpp
  llvm/lib/Target/RISCV/RISCVInstrInfo.td
  llvm/lib/Target/RISCV/RISCVRVVInitUndef.cpp
  llvm/lib/Target/RISCV/RISCVTargetMachine.cpp
  llvm/test/CodeGen/RISCV/O3-pipeline.ll
  llvm/test/CodeGen/RISCV/regalloc-last-chance-recoloring-failure.ll
  llvm/test/CodeGen/RISCV/rvv/subregister-undef-early-clobber.mir
  llvm/test/CodeGen/RISCV/rvv/undef-earlyclobber-chain.ll
  llvm/test/CodeGen/RISCV/rvv/vrgatherei16-subreg-liveness.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D129735.497281.patch
Type: text/x-patch
Size: 47973 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230214/3af45c7f/attachment-0001.bin>


More information about the llvm-commits mailing list