aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
diff options
context:
space:
mode:
authorFlorian Hahn <flo@fhahn.com>2024-07-25 12:21:09 +0100
committerGitHub <noreply@github.com>2024-07-25 12:21:09 +0100
commit72532c921989990180b11d46e38a92874008f51a (patch)
treeee6c2c69c0844bd7173b92d83f3ddbb3d67ee003 /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
parent90a997988279ecd0e9aefcf14ee0642093b03398 (diff)
downloadllvm-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