[llvm] [LV] Teach LoopVectorizationLegality about struct vector calls (PR #119221)
Benjamin Maxwell via llvm-commits
llvm-commits at lists.llvm.org
Wed Dec 18 07:24:28 PST 2024
================
@@ -10258,6 +10258,15 @@ bool LoopVectorizePass::processLoop(Loop *L) {
}
}
+ if (LVL.hasStructVectorCall()) {
+ constexpr StringLiteral FailureMessage(
+ "Auto-vectorization of calls that return struct types is not yet "
+ "supported");
+ reportVectorizationFailure(FailureMessage, FailureMessage,
----------------
MacDue wrote:
Sure :+1:
https://github.com/llvm/llvm-project/pull/119221
More information about the llvm-commits
mailing list