1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 11:13:28 +01:00
llvm-mirror/test/Transforms/SROA
Juneyoung Lee 46421cee58 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
..
address-spaces.ll
addrspacecast.ll
alignment.ll
alloca-address-space.ll
assume.ll
basictest.ll
big-endian.ll
dbg-addr-diamond.ll
dbg-inline.ll
dbg-single-piece.ll
dead-inst.ll
fca.ll
ignore-droppable.ll
mem-par-metadata-sroa.ll
non-integral-pointers.ll
phi-and-select.ll
phi-gep.ll
phi-with-duplicate-pred.ll
pointer-offset-size.ll
ppcf128-no-fold.ll
pr26972.ll
pr37267.ll
preserve-nonnull.ll
scalable-vectors.ll
select-gep.ll
slice-order-independence.ll
slice-width.ll
tbaa-struct.ll
vector-conversion.ll
vector-lifetime-intrinsic.ll
vector-promotion-different-size.ll
vector-promotion.ll
vectors-of-pointers.ll