[all-commits] [llvm/llvm-project] 5bb2e2: [LV][NFC] Emit remarks when failing to vectorise e...
David Sherwood via All-commits
all-commits at lists.llvm.org
Wed Sep 23 04:04:15 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 5bb2e21c30de31871dd01279c13abcfa2c06e75f
https://github.com/llvm/llvm-project/commit/5bb2e21c30de31871dd01279c13abcfa2c06e75f
Author: David Sherwood <david.sherwood at arm.com>
Date: 2026-09-23 (Wed, 23 Sep 2026)
Changed paths:
M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
M llvm/lib/Transforms/Vectorize/VPlanConstruction.cpp
M llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
M llvm/lib/Transforms/Vectorize/VPlanTransforms.h
M llvm/test/Transforms/LoopVectorize/early_exit_legality.ll
M llvm/test/Transforms/LoopVectorize/early_exit_store_legality.ll
M llvm/unittests/Transforms/Vectorize/VPlanTestBase.h
Log Message:
-----------
[LV][NFC] Emit remarks when failing to vectorise early exit loops (#225078)
I spotted recently that when attempting to compile a function with an
early exit loop we don't emit any remarks when we fail to vectorise due
to possible faulting loads. This PR fixes that and other missing
remarks, plus I've also added missing tests for some cases where we fail
to vectorise early exit loops.
For the remarks, I've used debug information to uniquely identify the
remark and associate it with a particular function.
Tests were assisted by Codex (GPT 5.5)
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