Use hasCompatibleVTYPE instead of hasSameVTYPE in needVSETVLIPHI, in order to avoid insert a vsetvli for mask instruction.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D113649
[RISCV] Teach VSETVLI insertion to handle mask instruction which has avl from a PHI node. AbandonedPublic Authored by jacquesguan on Nov 10 2021, 11:32 PM.
Details Summary Use hasCompatibleVTYPE instead of hasSameVTYPE in needVSETVLIPHI, in order to avoid insert a vsetvli for mask instruction.
Diff Detail
Event TimelineHerald added subscribers: VincentWu, luke957, achieveartificialintelligence and 24 others. · View Herald TranscriptNov 10 2021, 11:32 PM Comment Actions
OK, I will close this.
Revision Contents
Diff 386428 llvm/lib/Target/RISCV/RISCVInsertVSETVLI.cpp
llvm/test/CodeGen/RISCV/rvv/vsetvli-insert.ll
|