[clang] [llvm] [RISCV][P-ext] Support Packed Element Insert (PR #222268)
Craig Topper via cfe-commits
cfe-commits at lists.llvm.org
Sun Sep 13 22:22:40 PDT 2026
================
@@ -312,6 +312,16 @@ typedef uint32_t uint32x2_t __attribute__((__vector_size__(8)));
return __builtin_bit_cast(rty, __x); \
}
+#define __packed_insert(name, ty, elt_ty, max_idx) \
+ static __inline__ ty __DEFAULT_FN_ATTRS __riscv_##name(ty __v, elt_ty __e, \
+ unsigned __idx) \
+ __attribute__((__enable_if__( \
----------------
topperc wrote:
Extra indentation?
https://github.com/llvm/llvm-project/pull/222268
More information about the cfe-commits
mailing list