This is an initial patch to enable combining (rotate (grev)) and (grev (rotate)). I've added a helper to match rotates that we care about. Not sure if I'm happy with it yet. The match needs more test cases.
Details
Details
Diff Detail
Diff Detail
Paths
| Differential D92345
[RISCV] WIP add DAG combining for rotates and GREVI Needs ReviewPublic Authored by craig.topper on Nov 30 2020, 1:14 PM.
Details
Summary This is an initial patch to enable combining (rotate (grev)) and (grev (rotate)). I've added a helper to match rotates that we care about. Not sure if I'm happy with it yet. The match needs more test cases.
Diff Detail
Revision Contents
Diff 308471 llvm/lib/Target/RISCV/RISCVISelLowering.cpp
llvm/lib/Target/RISCV/RISCVInstrInfoB.td
|