llvm-project/llvm/test/Transforms/InstCombine/AMDGPU
Juneyoung Lee 9b29610228 Use unary CreateShuffleVector if possible
As mentioned in D93793, there are quite a few places where unary `IRBuilder::CreateShuffleVector(X, Mask)` can be used
instead of `IRBuilder::CreateShuffleVector(X, Undef, Mask)`.
Let's update them.

Actually, it would have been more natural if the patches were made in this order:
(1) let them use unary CreateShuffleVector first
(2) update IRBuilder::CreateShuffleVector to use poison as a placeholder value (D93793)

The order is swapped, but in terms of correctness it is still fine.

Reviewed By: spatel

Differential Revision: https://reviews.llvm.org/D93923
2020-12-30 22:36:08 +09:00
..
amdgcn-demanded-vector-elts-inseltpoison.ll Use unary CreateShuffleVector if possible 2020-12-30 22:36:08 +09:00
amdgcn-demanded-vector-elts.ll Use unary CreateShuffleVector if possible 2020-12-30 22:36:08 +09:00
amdgcn-intrinsics-gfx8.ll [AMDGPU] Add A16/G16 to InstCombine 2020-08-20 10:51:49 +02:00
amdgcn-intrinsics.ll [AMDGPU] Add A16/G16 to InstCombine 2020-08-20 10:51:49 +02:00
fma_legacy.ll [AMDGPU] Add simplification/combines for llvm.amdgcn.fma.legacy 2020-10-23 16:16:13 +01:00
fmul_legacy.ll [AMDGPU] Add simplification/combines for llvm.amdgcn.fma.legacy 2020-10-23 16:16:13 +01:00
ldexp.ll [InstCombine] regenerate test checks; NFC 2020-09-24 09:34:17 -04:00
lit.local.cfg
memcpy-from-constant.ll InstCombine: Fix losing load properties in copy-constant-to-alloca 2020-10-14 12:55:25 -04:00
tan.ll