[PATCH] D91259: [RISCV] Lower GREVI and GORCI as custom nodes

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 12 22:50:10 PST 2020


craig.topper added inline comments.


================
Comment at: llvm/lib/Target/RISCV/RISCVISelLowering.cpp:1153
+// Match the following pattern as a GORCI(W) operation
+//   (or (or (BITMANIP_SHL x), x),
+//       (BITMANIP_SRL x))
----------------
Is it possible that the input is (or (or (BITMANIP_SHL x), (BITMANIP_SHR x)), x)?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D91259/new/

https://reviews.llvm.org/D91259



More information about the llvm-commits mailing list