[all-commits] [llvm/llvm-project] 16f20b: [LV] Header masked condition of FindLastSelect whe...
Elvis Wang via All-commits
all-commits at lists.llvm.org
Fri Apr 10 13:43:45 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 16f20b60882e4a4e85d6f7dd757dc8eccdc5347d
https://github.com/llvm/llvm-project/commit/16f20b60882e4a4e85d6f7dd757dc8eccdc5347d
Author: Elvis Wang <elvis.wang at sifive.com>
Date: 2026-04-10 (Fri, 10 Apr 2026)
Changed paths:
M llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
M llvm/test/Transforms/LoopVectorize/find-last-iv-sinkable-expr.ll
M llvm/test/Transforms/LoopVectorize/iv-select-cmp-fold-tail.ll
Log Message:
-----------
[LV] Header masked condition of FindLastSelect when optimizeFindIVReductions when folding tail. (#191166)
This patch header masked the condition of FindLastSelect for FindIV
reductions when folding tail in `optimizeFindIVReductions`.
Note that the TC in
llvm/test/Transforms/LoopVectorize/iv-select-cmp-decreasing.ll is small
(12) which is lower than 16 (4 * 4), so the condition of predicated
select are constants.
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