1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 11:13:28 +01:00
llvm-mirror/test/Transforms/PhaseOrdering
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
..
ARM [FileCheck] Enforce --allow-unused-prefixes=false for llvm/test/Transforms 2020-12-09 08:51:38 -08:00
X86 Use unary CreateShuffleVector if possible 2020-12-30 22:36:08 +09:00
2010-03-22-empty-baseclass.ll
basic.ll
bitfield-bittests.ll
d83507-knowledge-retention-bug.ll
gdce.ll
globalaa-retained.ll
inlining-alignment-assumptions.ll
instcombine-sroa-inttoptr.ll
lifetime-sanitizer.ll
loop-rotation-vs-common-code-hoisting.ll
min-max-abs-cse.ll [InstCombine] Canonicalize SPF to abs intrinsic 2020-12-18 21:18:14 +03:00
minmax.ll
pr39282.ll
PR6627.ll
reassociate-after-unroll.ll
rotate.ll
scev-custom-dl.ll
scev.ll
simplifycfg-options.ll
two-shifts-by-sext.ll
unsigned-multiply-overflow-check.ll [SimplifyCFG] Teach FoldTwoEntryPHINode() to preserve DomTree 2020-12-20 00:18:33 +03:00
vector-trunc-inseltpoison.ll Precommit transform tests that have poison as insertelement's placeholder 2020-12-24 11:46:17 +09:00
vector-trunc.ll