[llvm] [VPlan] Support struct return types for widen intrinsics (NFC). (PR #165218)

Shih-Po Hung via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 6 07:01:28 PST 2025


================
@@ -164,6 +164,11 @@ LLVM_ABI bool
 isVectorIntrinsicWithOverloadTypeAtArg(Intrinsic::ID ID, int OpdIdx,
                                        const TargetTransformInfo *TTI);
 
+/// Identifies if the vector form of the intrinsic that returns a struct has
+/// a scalar element at the struct element index \p RetIdx.
+LLVM_ABI bool isVectorIntrinsicWithStructReturnScalarAtField(Intrinsic::ID ID,
----------------
arcbbb wrote:

Ahh, that explains the error. I’ll move the decl and impl . Thanks!

https://github.com/llvm/llvm-project/pull/165218


More information about the llvm-commits mailing list