[all-commits] [llvm/llvm-project] 362a60: [LV] Reject non-simple outer-loop memory accesses....
Florian Hahn via All-commits
all-commits at lists.llvm.org
Wed Sep 30 08:15:59 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 362a60ebc50e399983914a51b939dfbe11df15de
https://github.com/llvm/llvm-project/commit/362a60ebc50e399983914a51b939dfbe11df15de
Author: Florian Hahn <flo at fhahn.com>
Date: 2026-09-30 (Wed, 30 Sep 2026)
Changed paths:
M llvm/lib/Transforms/Vectorize/LoopVectorizationLegality.cpp
M llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
M llvm/test/Transforms/LoopVectorize/outer-loop-memory-safety.ll
Log Message:
-----------
[LV] Reject non-simple outer-loop memory accesses. (#226212)
Reject loops with atomic or volatile access early in
canVectorizeOuterLoops. We cannot safely vectorize those instructions.
And at the VPlan-level, we do not model non-simple loads/stores etc, so
we cannot easily detect them (without reaching to the underlying
instructions).
Reject them at the outset, like in the inner loop path.
Without the checks, the newly added tests crash.
PR: https://github.com/llvm/llvm-project/pull/226212
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