diff options
| author | David Sherwood <david.sherwood@arm.com> | 2022-02-21 10:38:08 +0000 |
|---|---|---|
| committer | David Sherwood <david.sherwood@arm.com> | 2022-02-22 09:26:04 +0000 |
| commit | 47eff645d8e873ba531014751c1c06a716a367e9 (patch) | |
| tree | 64be3a9dd6e475a82225c7a72b7618dd80041cb6 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
| parent | 650aec687eb54aeeb3cef4a41f2dbaa49ef3e358 (diff) | |
[InstCombine] Bail out of load-store forwarding for scalable vector types
This patch fixes an invalid TypeSize->uint64_t implicit conversion in
FoldReinterpretLoadFromConst. If the size of the constant is scalable
we bail out of the optimisation for now.
Tests added here:
Transforms/InstCombine/load-store-forward.ll
Differential Revision: https://reviews.llvm.org/D120240
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions
