[PATCH] D144700: [RISCV] Use ComplexPattern to reduce the number of patterns for XVentanaCondOps.

Philipp Tomsich via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 23 23:50:34 PST 2023


philipp.tomsich added inline comments.


================
Comment at: llvm/lib/Target/RISCV/RISCVInstrInfoXVentana.td:37
+// This ComplexPatterns must be used in pairs.
+def condop    : ComplexPattern<XLenVT, 1, "selectCondOp">;
+def invcondop : ComplexPattern<XLenVT, 1, "selectInverseCondOp">;
----------------
Should we move this RISCVInstrInfo.td, as it will also be needed for Zicond?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D144700



More information about the llvm-commits mailing list