[PATCH] D100097: [RISCV][NFC] Replace explicit type i64 with riscv customized SDTypeProfile.

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 8 09:24:22 PDT 2021


craig.topper added inline comments.


================
Comment at: llvm/lib/Target/RISCV/RISCVInstrInfo.td:43
 ]>;
+def SDT_RISCVIntShiftOpW : SDTypeProfile<1, 2, [
+  SDTCisSameAs<0, 1>, SDTCisVT<0, i64>, SDTCisVT<2, i64>
----------------
Since the types of both operands and the result have to be i64 isn't this equivalent to SDT_RISCVIntBinOpW?


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

https://reviews.llvm.org/D100097



More information about the llvm-commits mailing list