diff options
Diffstat (limited to 'llvm/test/Transforms/InstSimplify/shufflevector.ll')
| -rw-r--r-- | llvm/test/Transforms/InstSimplify/shufflevector.ll | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/llvm/test/Transforms/InstSimplify/shufflevector.ll b/llvm/test/Transforms/InstSimplify/shufflevector.ll index e03916c5b90..6af0db8e5a4 100644 --- a/llvm/test/Transforms/InstSimplify/shufflevector.ll +++ b/llvm/test/Transforms/InstSimplify/shufflevector.ll @@ -118,6 +118,14 @@ define <4 x i32> @undef_mask(<4 x i32> %x) { ret <4 x i32> %shuf } +define <4 x i32> @undef_mask_1(<4 x i32> %x, <4 x i32> %y) { +; CHECK-LABEL: @undef_mask_1( +; CHECK-NEXT: ret <4 x i32> undef +; + %shuf = shufflevector <4 x i32> %x, <4 x i32> %y, <4 x i32> undef + ret <4 x i32> %shuf +} + define <4 x i32> @identity_mask_0(<4 x i32> %x) { ; CHECK-LABEL: @identity_mask_0( ; CHECK-NEXT: ret <4 x i32> [[X:%.*]] |

