diff options
author | Alexey Bataev <a.bataev@outlook.com> | 2021-06-28 12:21:19 -0700 |
---|---|---|
committer | Alexey Bataev <a.bataev@outlook.com> | 2021-06-29 10:02:38 -0700 |
commit | 129ae515fba022353050e0f313b32595de9e4b39 (patch) | |
tree | 0fecf241d6b6041dd622a06eed91fdf6e92282f8 /clang/lib/Interpreter/Interpreter.cpp | |
parent | 5d933c0b0c741767f2af8218d55581557903a254 (diff) | |
download | llvm-129ae515fba022353050e0f313b32595de9e4b39.zip llvm-129ae515fba022353050e0f313b32595de9e4b39.tar.gz llvm-129ae515fba022353050e0f313b32595de9e4b39.tar.bz2 |
[INSTCOMBINE] Transform reduction(shuffle V, poison, unique_mask) to reduction(V).
After SLP + LTO we may have have reduction(shuffle V, poison,
mask). This can be simplified to just reduction(V) if the mask is only
for single vector and just all elements from this vector are permuted,
without reusing, replacing with undefs and/or other values, etc.
Differential Revision: https://reviews.llvm.org/D105053
Diffstat (limited to 'clang/lib/Interpreter/Interpreter.cpp')
0 files changed, 0 insertions, 0 deletions