If the result register is used, it is not safe to delete.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D153076
[RISCV] Prevent vsetvli insertion from deleting some vsetvli instructions ClosedPublic Authored by craig.topper on Jun 15 2023, 2:11 PM.
Details Summary If the result register is used, it is not safe to delete.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Jun 15 2023, 2:53 PM This revision was landed with ongoing or failed builds.Jun 15 2023, 3:19 PM Closed by commit rG354530fe198d: [RISCV] Prevent vsetvli insertion from deleting some vsetvli instructions (authored by craig.topper). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 531917 llvm/lib/Target/RISCV/RISCVInsertVSETVLI.cpp
llvm/test/CodeGen/RISCV/rvv/vsetvli-insert.ll
|