[all-commits] [llvm/llvm-project] ddffb7: [LV] Strip unreachable SCEV-check blocks (#130079)
Ramkumar Ramachandra via All-commits
all-commits at lists.llvm.org
Thu Mar 6 11:30:46 PST 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: ddffb74afd870d284ba07f1cf6c67117a8ab8b33
https://github.com/llvm/llvm-project/commit/ddffb74afd870d284ba07f1cf6c67117a8ab8b33
Author: Ramkumar Ramachandra <ramkumar.ramachandra at codasip.com>
Date: 2025-03-06 (Thu, 06 Mar 2025)
Changed paths:
M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
M llvm/test/Transforms/LoopVectorize/AArch64/conditional-branches-cost.ll
M llvm/test/Transforms/LoopVectorize/X86/pr36524.ll
Log Message:
-----------
[LV] Strip unreachable SCEV-check blocks (#130079)
emitSCEVChecks checks if SCEVCheckCond matches zero, and returns
nullptr. However, it sets SCEVCheckCond as used before it does this,
which prevents it from being removed during cleanup, resulting in
unreachable blocks being emitted. Fix this.
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