Due to a clerical error, the sdiv operation was mapping to vdivu and
udiv to vdiv, when the opposite mapping is the correct one.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
| Paths 
 |  Differential  D95869  
[RISCV] Fix incorrect RVV sdiv/udiv lowering ClosedPublic Authored by frasercrmck on Feb 2 2021, 6:52 AM. 
Details Summary Due to a clerical error, the sdiv operation was mapping to vdivu and 
Diff Detail 
 Event TimelineHerald added subscribers: vkmr, NickHung, luismarques and 24 others.  ·  View Herald TranscriptFeb 2 2021, 6:52 AM This revision is now accepted and ready to land.Feb 2 2021, 9:13 AM This revision was landed with ongoing or failed builds.Feb 2 2021, 10:42 AM Closed by commit rGb4106f9c7b8c: [RISCV] Fix incorrect RVV sdiv/udiv lowering (authored by frasercrmck).  ·  Explain Why This revision was automatically updated to reflect the committed changes. 
Revision Contents 
 
Diff 320850 llvm/lib/Target/RISCV/RISCVInstrInfoVSDPatterns.td
 llvm/test/CodeGen/RISCV/rvv/vdiv-sdnode-rv32.ll
 llvm/test/CodeGen/RISCV/rvv/vdiv-sdnode-rv64.ll
 llvm/test/CodeGen/RISCV/rvv/vdivu-sdnode-rv32.ll
 llvm/test/CodeGen/RISCV/rvv/vdivu-sdnode-rv64.ll
 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||