This combine step performs the following type of transformation:
rev.p a0, a0 # grevi a0, a0, 0b01 rev2.n a0, a0 # grevi a0, a0, 0b10 --> rev.n a0, a0 # grevi a0, a0, 0b11
| Paths 
 |  Differential  D91877  
[RISCV] Combine GREVI sequences ClosedPublic Authored by frasercrmck on Nov 20 2020, 9:22 AM. 
Details Summary This combine step performs the following type of transformation: rev.p a0, a0 # grevi a0, a0, 0b01 rev2.n a0, a0 # grevi a0, a0, 0b10 --> rev.n a0, a0 # grevi a0, a0, 0b11 
Diff Detail 
 Event Timeline
 
 
 This revision is now accepted and ready to land.Nov 23 2020, 11:39 AM This revision was landed with ongoing or failed builds.Nov 24 2020, 4:12 AM Closed by commit rGca1f2f2716b3: [RISCV] Combine GREVI sequences (authored by frasercrmck).  ·  Explain Why This revision was automatically updated to reflect the committed changes. 
Revision Contents 
 
 
Diff 307315 llvm/lib/Target/RISCV/RISCVISelLowering.cpp
 llvm/test/CodeGen/RISCV/rv32Zbp.ll
 llvm/test/CodeGen/RISCV/rv64Zbp.ll
 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Does the order matter? Or do we just need (ShAmt1 & ShAmt2) == 0 to hold?