diff options
author | Alexey Bataev <a.bataev@outlook.com> | 2023-07-27 14:50:35 -0700 |
---|---|---|
committer | Alexey Bataev <a.bataev@outlook.com> | 2023-07-27 16:09:49 -0700 |
commit | 48bc5b0a297e51a0556b6e9b77c772d85c39be01 (patch) | |
tree | bba7b999e69dcb1b6221542e6e241199a788c451 /flang/lib/Frontend/CompilerInvocation.cpp | |
parent | 66ba71d913df7f7cd75e92c0c4265932b7c93292 (diff) | |
download | llvm-48bc5b0a297e51a0556b6e9b77c772d85c39be01.zip llvm-48bc5b0a297e51a0556b6e9b77c772d85c39be01.tar.gz llvm-48bc5b0a297e51a0556b6e9b77c772d85c39be01.tar.bz2 |
[SLP][PR64099]Fix unsound undef to poison transformation when handling
insertelement instructions.
If the original vector has undef, not poison values, which are not
rewritten by later insertelement instructions, need to transform shuffle
with the undef vector, not a poison vector, and actual indices, not
PoisonMaskElem, otherwise the transformation may produce more poisons
output than the input.
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions