[llvm] [RISCV][llvm] Preliminary P extension codegen support (PR #162668)
Craig Topper via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 27 10:12:54 PDT 2025
================
@@ -8134,6 +8233,17 @@ SDValue RISCVTargetLowering::LowerOperation(SDValue Op,
auto *Store = cast<StoreSDNode>(Op);
SDValue StoredVal = Store->getValue();
EVT VT = StoredVal.getValueType();
+ if (Subtarget.hasStdExtP()) {
+ if (VT == MVT::v2i16 || VT == MVT::v4i8) {
----------------
topperc wrote:
How hard is it to support the extract_vector_elt? We need to do it eventually anyway.
https://github.com/llvm/llvm-project/pull/162668
More information about the llvm-commits
mailing list