[PATCH] D79870: [RISCV] Add matching of codegen patterns to RISCV Bit Manipulation Zbb asm instructions
Paolo Savini via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 9 19:24:29 PDT 2020
PaoloS marked an inline comment as done.
PaoloS added inline comments.
================
Comment at: llvm/lib/Target/RISCV/RISCVInstrInfoB.td:641
+def SROIPat : ComplexPattern<XLenVT, 2, "SelectSROI", [or]>;
+def SLOIWPat : ComplexPattern<XLenVT, 2, "SelectSLOIW", [sext_inreg]>;
+def SROIWPat : ComplexPattern<XLenVT, 2, "SelectSROIW", [or]>;
----------------
lewis-revill wrote:
> Can these W selects be guarded for 64 bit only?
Not sure how to do it, they can't be enclosed in Predicates like the instruction patterns.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D79870/new/
https://reviews.llvm.org/D79870
More information about the llvm-commits
mailing list