diff options
| author | Sander de Smalen <sander.desmalen@arm.com> | 2021-07-26 15:22:01 +0100 |
|---|---|---|
| committer | Sander de Smalen <sander.desmalen@arm.com> | 2021-07-26 16:01:55 +0100 |
| commit | 981e9dce548277eaf3f6725bf5ffe84e03f658b1 (patch) | |
| tree | c2a1dbd41220e8b6eabccfc20bd61f788f451f89 /llvm/tools/llvm-objcopy/ELF/Object.cpp | |
| parent | 81eafb8a37c9f0eecd3b73642d94eee3bae490bf (diff) | |
| download | llvm-981e9dce548277eaf3f6725bf5ffe84e03f658b1.zip llvm-981e9dce548277eaf3f6725bf5ffe84e03f658b1.tar.gz llvm-981e9dce548277eaf3f6725bf5ffe84e03f658b1.tar.bz2 | |
[LV] Don't assume isScalarAfterVectorization if one of the uses needs widening.
This fixes an issue that was found in D105199, where a GEP instruction
is used both as the address of a store, as well as the value of a store.
For the former, the value is scalar after vectorization, but the latter
(as value) requires widening.
Other code in that function seems to prevent similar cases from happening,
but it seems this case was missed.
Reviewed By: david-arm
Differential Revision: https://reviews.llvm.org/D106164
Diffstat (limited to 'llvm/tools/llvm-objcopy/ELF/Object.cpp')
0 files changed, 0 insertions, 0 deletions
