We need to add new VL nodes to mirror ISD::ROTL and ISD::ROTR.
Details
Details
Diff Detail
Diff Detail
- Repository
 - rG LLVM Github Monorepo
 
Paths 
  |  Differential  D157295  
[RISCV] Lower vro{l,r} for fixed vectors ClosedPublic Authored by luke on Aug 7 2023, 9:46 AM. 
Details Summary We need to add new VL nodes to mirror ISD::ROTL and ISD::ROTR. 
Diff Detail 
 Event Timelineluke added a parent revision: D157294: [RISCV] Lower unary zvbb ops for fixed vectors.Aug 7 2023, 9:46 AM 
 
 This revision is now accepted and ready to land.Aug 7 2023, 8:14 PM This revision was landed with ongoing or failed builds.Aug 8 2023, 1:47 AM Closed by commit rG5d510ea72426: [RISCV] Lower vro{l,r} for fixed vectors (authored by luke).  ·  Explain Why This revision was automatically updated to reflect the committed changes. 
Revision Contents 
 
 
Diff 548108 llvm/lib/Target/RISCV/RISCVISelLowering.h
 llvm/lib/Target/RISCV/RISCVISelLowering.cpp
 
 llvm/lib/Target/RISCV/RISCVInstrInfoVVLPatterns.td
 llvm/lib/Target/RISCV/RISCVInstrInfoZvk.td
 llvm/test/CodeGen/RISCV/rvv/fixed-vectors-vrol.ll
 
 llvm/test/CodeGen/RISCV/rvv/fixed-vectors-vror.ll
 
  | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Don't we need to check for vector type here?