aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorFlorian Hahn <flo@fhahn.com>2024-04-30 12:59:08 +0100
committerGitHub <noreply@github.com>2024-04-30 12:59:08 +0100
commit82219e547bf42102a913fc6d5e3e81c3c888e5d6 (patch)
treec56097f70f16512b455af2967881583e6bdc0cd4 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parent5cd074fa57c2a22312f479a9529c0eac10013043 (diff)
downloadllvm-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/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions