diff options
author | Juneyoung Lee <aqjune@gmail.com> | 2021-01-05 14:11:50 +0900 |
---|---|---|
committer | Juneyoung Lee <aqjune@gmail.com> | 2021-01-06 11:22:50 +0900 |
commit | 4a8e6ed2f795b78061b02899aed4642bdb9cdc7e (patch) | |
tree | 72b84eb180c6a6533f8dbad4aa9a835ed25e4797 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 4ae7952e2b3566d373c55c8e9740051ca37ed738 (diff) | |
download | llvm-4a8e6ed2f795b78061b02899aed4642bdb9cdc7e.zip llvm-4a8e6ed2f795b78061b02899aed4642bdb9cdc7e.tar.gz llvm-4a8e6ed2f795b78061b02899aed4642bdb9cdc7e.tar.bz2 |
[SLP,LV] Use poison constant vector for shufflevector/initial insertelement
This patch makes SLP and LV emit operations with initial vectors set to poison constant instead of undef.
This is a part of efforts for using poison vector instead of undef to represent "doesn't care" vector.
The goal is to make nice shufflevector optimizations valid that is currently incorrect due to the tricky interaction between undef and poison (see https://bugs.llvm.org/show_bug.cgi?id=44185 ).
Reviewed By: fhahn
Differential Revision: https://reviews.llvm.org/D94061
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions