[PATCH] D100932: [RISCV] CleanupVSETVLI: Add phase to remove redundant VSETVLI instructions across basic blocks

ShihPo Hung via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun May 2 23:57:12 PDT 2021


arcbbb updated this revision to Diff 342319.
arcbbb added a comment.

address Roger's comment

  i. add MIR tests.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D100932

Files:
  llvm/lib/Target/RISCV/RISCVCleanupVSETVLI.cpp
  llvm/lib/Target/RISCV/RISCVCleanupVSETVLI.h
  llvm/test/CodeGen/RISCV/rvv/cleanup-vsetvli-global.mir
  llvm/test/CodeGen/RISCV/rvv/fixed-vectors-ctlz.ll
  llvm/test/CodeGen/RISCV/rvv/fixed-vectors-cttz.ll
  llvm/test/CodeGen/RISCV/rvv/fixed-vectors-int.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D100932.342319.patch
Type: text/x-patch
Size: 20484 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210503/ffab6c55/attachment.bin>


More information about the llvm-commits mailing list