[PATCH] D93013: [RISCV] Define vadd/vsub/vrsub intrinsics and lower to V instructions.

Evandro Menezes via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 11 18:03:21 PST 2020


evandro added inline comments.


================
Comment at: llvm/lib/Target/RISCV/RISCVISelLowering.cpp:337
+    // RVV intrinsics may have illegal operands.
+    for (auto VT : {MVT::i1, MVT::i8, MVT::i16, MVT::i32})
+      setOperationAction(ISD::INTRINSIC_WO_CHAIN, VT, Custom);
----------------
craig.topper wrote:
> Is MVT::i1 needed here? The custom lowering only checks i8/i16/i32.
> 
> Should we only have i32 as custom with RV64?
Good question...


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D93013



More information about the llvm-commits mailing list