diff options
author | Florian Hahn <flo@fhahn.com> | 2024-07-25 12:21:09 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-25 12:21:09 +0100 |
commit | 72532c921989990180b11d46e38a92874008f51a (patch) | |
tree | ee6c2c69c0844bd7173b92d83f3ddbb3d67ee003 /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp | |
parent | 90a997988279ecd0e9aefcf14ee0642093b03398 (diff) | |
download | llvm-72532c921989990180b11d46e38a92874008f51a.zip llvm-72532c921989990180b11d46e38a92874008f51a.tar.gz llvm-72532c921989990180b11d46e38a92874008f51a.tar.bz2 |
[LV] Don't predicate divs with invariant divisor when folding tail (#98904)
When folding the tail, at least one of the lanes must execute
unconditionally. If the divisor is loop-invariant no predication is
needed, as predication would not prevent the divide-by-0 on the executed
lane.
Depends on https://github.com/llvm/llvm-project/pull/98892.
PR: https://github.com/llvm/llvm-project/pull/98904
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions