diff options
Diffstat (limited to 'llvm/test/Transforms/SLPVectorizer/X86/PR40310.ll')
| -rw-r--r-- | llvm/test/Transforms/SLPVectorizer/X86/PR40310.ll | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/llvm/test/Transforms/SLPVectorizer/X86/PR40310.ll b/llvm/test/Transforms/SLPVectorizer/X86/PR40310.ll index 4622c77e8c8..2a0b66ee281 100644 --- a/llvm/test/Transforms/SLPVectorizer/X86/PR40310.ll +++ b/llvm/test/Transforms/SLPVectorizer/X86/PR40310.ll @@ -13,6 +13,21 @@ define void @mainTest(i32 %param, i32 * %vals, i32 %len) { ; CHECK-NEXT: [[TMP3:%.*]] = extractelement <16 x i32> [[SHUFFLE]], i32 15 ; CHECK-NEXT: store atomic i32 [[TMP3]], i32* [[VALS:%.*]] unordered, align 4 ; CHECK-NEXT: [[TMP4:%.*]] = add <16 x i32> [[SHUFFLE]], <i32 15, i32 14, i32 13, i32 12, i32 11, i32 10, i32 9, i32 8, i32 7, i32 6, i32 5, i32 4, i32 3, i32 2, i32 1, i32 -1> +; CHECK-NEXT: [[V14:%.*]] = and i32 [[TMP2]], undef +; CHECK-NEXT: [[V16:%.*]] = and i32 undef, [[V14]] +; CHECK-NEXT: [[V18:%.*]] = and i32 undef, [[V16]] +; CHECK-NEXT: [[V20:%.*]] = and i32 undef, [[V18]] +; CHECK-NEXT: [[V22:%.*]] = and i32 undef, [[V20]] +; CHECK-NEXT: [[V24:%.*]] = and i32 undef, [[V22]] +; CHECK-NEXT: [[V26:%.*]] = and i32 undef, [[V24]] +; CHECK-NEXT: [[V28:%.*]] = and i32 undef, [[V26]] +; CHECK-NEXT: [[V30:%.*]] = and i32 undef, [[V28]] +; CHECK-NEXT: [[V32:%.*]] = and i32 undef, [[V30]] +; CHECK-NEXT: [[V34:%.*]] = and i32 undef, [[V32]] +; CHECK-NEXT: [[V36:%.*]] = and i32 undef, [[V34]] +; CHECK-NEXT: [[V38:%.*]] = and i32 undef, [[V36]] +; CHECK-NEXT: [[V40:%.*]] = and i32 undef, [[V38]] +; CHECK-NEXT: [[V42:%.*]] = and i32 undef, [[V40]] ; CHECK-NEXT: [[RDX_SHUF:%.*]] = shufflevector <16 x i32> [[TMP4]], <16 x i32> undef, <16 x i32> <i32 8, i32 9, i32 10, i32 11, i32 12, i32 13, i32 14, i32 15, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef> ; CHECK-NEXT: [[BIN_RDX:%.*]] = and <16 x i32> [[TMP4]], [[RDX_SHUF]] ; CHECK-NEXT: [[RDX_SHUF1:%.*]] = shufflevector <16 x i32> [[BIN_RDX]], <16 x i32> undef, <16 x i32> <i32 4, i32 5, i32 6, i32 7, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef> @@ -23,6 +38,7 @@ define void @mainTest(i32 %param, i32 * %vals, i32 %len) { ; CHECK-NEXT: [[BIN_RDX6:%.*]] = and <16 x i32> [[BIN_RDX4]], [[RDX_SHUF5]] ; CHECK-NEXT: [[TMP5:%.*]] = extractelement <16 x i32> [[BIN_RDX6]], i32 0 ; CHECK-NEXT: [[OP_EXTRA:%.*]] = and i32 [[TMP5]], [[TMP2]] +; CHECK-NEXT: [[V43:%.*]] = and i32 undef, [[V42]] ; CHECK-NEXT: [[V44:%.*]] = add i32 [[TMP2]], 16 ; CHECK-NEXT: [[TMP6:%.*]] = insertelement <2 x i32> undef, i32 [[V44]], i32 0 ; CHECK-NEXT: [[TMP7]] = insertelement <2 x i32> [[TMP6]], i32 [[OP_EXTRA]], i32 1 |

