Use integer vector scalar move instruction when move 0 to avoid add a integer-float move instruction.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D116365
[RISCV] Use vmv.s.x instead of vfmv.s.f when the floating point scalar is 0. ClosedPublic Authored by jacquesguan on Dec 29 2021, 12:16 AM.
Details Summary Use integer vector scalar move instruction when move 0 to avoid add a integer-float move instruction.
Diff Detail
Event TimelineHerald added subscribers: VincentWu, luke957, achieveartificialintelligence and 24 others. · View Herald TranscriptDec 29 2021, 12:16 AM This revision is now accepted and ready to land.Dec 29 2021, 3:05 PM This revision was landed with ongoing or failed builds.Dec 29 2021, 6:35 PM Closed by commit rG1dd5e6fed5db: [RISCV] Use vmv.s.x instead of vfmv.s.f when the floating point scalar is 0. (authored by jacquesguan). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 396591 llvm/lib/Target/RISCV/RISCVInstrInfoVVLPatterns.td
llvm/test/CodeGen/RISCV/rvv/fixed-vectors-fp-buildvec.ll
|