aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Analysis/BasicAliasAnalysis.cpp
diff options
context:
space:
mode:
authorClement Courbet <courbet@google.com>2021-10-07 17:29:02 +0200
committerClement Courbet <courbet@google.com>2021-10-11 09:39:06 +0200
commit6aaf1e7ea931a1865cc97ebf8fcb084772f8142e (patch)
tree869fc9cb6aedc565b9ed85a4960763b0aaad1c05 /llvm/lib/Analysis/BasicAliasAnalysis.cpp
parent50a08e2c6d4185df6a5b0a5b41c7ef8849aad269 (diff)
downloadllvm-6aaf1e7ea931a1865cc97ebf8fcb084772f8142e.zip
llvm-6aaf1e7ea931a1865cc97ebf8fcb084772f8142e.tar.gz
llvm-6aaf1e7ea931a1865cc97ebf8fcb084772f8142e.tar.bz2
[LoopIdiom] Fix store size SCEV type.
We were using the type of the loop back edge count to represent the store size. This failed for small loop counts (e.g. in the added test, the loop count was an i2). Use the index type instead. Fixes PR52104. Differential Revision: https://reviews.llvm.org/D111401
Diffstat (limited to 'llvm/lib/Analysis/BasicAliasAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions