[all-commits] [llvm/llvm-project] f53234: [AggressiveInstCombine] Fix invalid TypeSize conve...
paulwalker-arm via All-commits
all-commits at lists.llvm.org
Sat Dec 17 07:37:43 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: f53234cbfd0053f744f4825b10f56e108b2b8673
https://github.com/llvm/llvm-project/commit/f53234cbfd0053f744f4825b10f56e108b2b8673
Author: Paul Walker <paul.walker at arm.com>
Date: 2022-12-17 (Sat, 17 Dec 2022)
Changed paths:
M llvm/lib/Transforms/AggressiveInstCombine/AggressiveInstCombine.cpp
A llvm/test/Transforms/AggressiveInstCombine/vector-or-load.ll
Log Message:
-----------
[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
More information about the All-commits
mailing list