diff options
author | Florian Hahn <flo@fhahn.com> | 2024-04-30 12:59:08 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-30 12:59:08 +0100 |
commit | 82219e547bf42102a913fc6d5e3e81c3c888e5d6 (patch) | |
tree | c56097f70f16512b455af2967881583e6bdc0cd4 /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp | |
parent | 5cd074fa57c2a22312f479a9529c0eac10013043 (diff) | |
download | llvm-82219e547bf42102a913fc6d5e3e81c3c888e5d6.zip llvm-82219e547bf42102a913fc6d5e3e81c3c888e5d6.tar.gz llvm-82219e547bf42102a913fc6d5e3e81c3c888e5d6.tar.bz2 |
[LAA] Pass maximum stride to isSafeDependenceDistance. (#90036)
As discussed in https://github.com/llvm/llvm-project/pull/88039, support
different strides with isSafeDependenceDistance by passing the maximum
of both strides.
isSafeDependenceDistance tries to prove that
|Dist| > BackedgeTakenCount * Step
holds. Chosing the maximum stride computes the maximum range accesed by
the loop for all strides.
PR: https://github.com/llvm/llvm-project/pull/90036
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions