[all-commits] [llvm/llvm-project] eaf0d8: [LV] Disable fold tail by masking when IV is used ...
Niwin Anto via All-commits
all-commits at lists.llvm.org
Mon Mar 4 03:33:42 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: eaf0d82529f30fd53b453886676821d67ccfe9af
https://github.com/llvm/llvm-project/commit/eaf0d82529f30fd53b453886676821d67ccfe9af
Author: Niwin Anto <niwinantop at gmail.com>
Date: 2024-03-04 (Mon, 04 Mar 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/LoopVectorizationLegality.cpp
M llvm/test/Transforms/LoopVectorize/no-fold-tail-by-masking-iv-external-uses.ll
Log Message:
-----------
[LV] Disable fold tail by masking when IV is used outside (#81609)
When induction variable are used outside the loop body, tail folding
by masking mis-compiles, because for users outside of the loop the
final value of the induction is computed separately from the vector
loop.
Fixes https://github.com/llvm/llvm-project/issues/76069
Fixes https://github.com/llvm/llvm-project/issues/51677
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