aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/ModuleDependencyCollector.cpp
diff options
context:
space:
mode:
authorPaul Walker <paul.walker@arm.com>2022-12-15 14:59:51 +0000
committerPaul Walker <paul.walker@arm.com>2022-12-17 15:34:27 +0000
commitf53234cbfd0053f744f4825b10f56e108b2b8673 (patch)
tree088a0dd37d4b7fc50b743aa20cb2041b1f09a65f /clang/lib/Frontend/ModuleDependencyCollector.cpp
parent815fddfa1782ac2bb416f6c878e0c0c7f4f3575f (diff)
downloadllvm-f53234cbfd0053f744f4825b10f56e108b2b8673.zip
llvm-f53234cbfd0053f744f4825b10f56e108b2b8673.tar.gz
llvm-f53234cbfd0053f744f4825b10f56e108b2b8673.tar.bz2
[AggressiveInstCombine] Fix invalid TypeSize conversion when combining loads.
Much of foldLoadsRecursive relies on knowing the size of loaded data, which is not possible for scalable vector types. However, the logic of combining two small loads into one bigger load does not apply for vector types so rather than converting the algorithm to use TypeSize I've simply added an early exit for vectors. Fixes #59510 Differential Revision: https://reviews.llvm.org/D140106
Diffstat (limited to 'clang/lib/Frontend/ModuleDependencyCollector.cpp')
0 files changed, 0 insertions, 0 deletions