[PATCH] D92679: [RISCV] Add a pass to remove duplicate VSETVLI instructions in a basic block.
Craig Topper via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Dec 4 17:25:14 PST 2020
craig.topper updated this revision to Diff 309702.
craig.topper added a comment.
Add a MIR test to make sure we don't remove
vsetvli x0, x0
vsetvli vreg, x0
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D92679/new/
https://reviews.llvm.org/D92679
Files:
llvm/lib/Target/RISCV/CMakeLists.txt
llvm/lib/Target/RISCV/RISCV.h
llvm/lib/Target/RISCV/RISCVCleanupVSETVLI.cpp
llvm/lib/Target/RISCV/RISCVTargetMachine.cpp
llvm/test/CodeGen/RISCV/rvv/add-vsetvli-gpr.mir
llvm/test/CodeGen/RISCV/rvv/cleanup-vsetvli.mir
llvm/test/CodeGen/RISCV/rvv/load-add-store-16.ll
llvm/test/CodeGen/RISCV/rvv/load-add-store-32.ll
llvm/test/CodeGen/RISCV/rvv/load-add-store-64.ll
llvm/test/CodeGen/RISCV/rvv/load-add-store-8.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D92679.309702.patch
Type: text/x-patch
Size: 19898 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201205/88b769dc/attachment.bin>
More information about the llvm-commits
mailing list