[PATCH] D99158: [RISCV][WIP] Implement intrinsics for P extension

Jim Lin via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Apr 16 01:08:39 PDT 2021


Jim added inline comments.


================
Comment at: llvm/lib/Target/RISCV/RISCVISelLowering.cpp:762
+      for (unsigned Opc = 0; Opc < ISD::BUILTIN_OP_END; ++Opc)
+        setOperationAction(Opc, VT, Expand);
+
----------------
craig.topper wrote:
> You probably need handling for insert_vector_elt and extract_vector_elt or some of the expansions will probably break.
I will implement it in another patch for codegen.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D99158



More information about the cfe-commits mailing list