[all-commits] [llvm/llvm-project] 65aee7: [LV] Bail out if loop nest contains non-widenable ...
Florian Hahn via All-commits
all-commits at lists.llvm.org
Thu Oct 1 07:06:21 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 65aee7abaeca14516a739148ad4488317b3785a2
https://github.com/llvm/llvm-project/commit/65aee7abaeca14516a739148ad4488317b3785a2
Author: Florian Hahn <flo at fhahn.com>
Date: 2026-10-01 (Thu, 01 Oct 2026)
Changed paths:
M llvm/lib/Transforms/Vectorize/LoopVectorizationLegality.cpp
A llvm/test/Transforms/LoopVectorize/outer-loop-legality-remarks.ll
A llvm/test/Transforms/LoopVectorize/outer-loop-unvectorizable-types.ll
Log Message:
-----------
[LV] Bail out if loop nest contains non-widenable types. (#226463)
Currently all instructions are widened during outer-loop vectorization.
That requires the result types of all instructions to be widen-able.
Update canVectorizeOuterLoop to check the types of all instructions, via
a shared helper.
The newly added tests crash w/o the extra checks.
PR: https://github.com/llvm/llvm-project/pull/226463
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list