diff options
| author | Ahmed Bougacha <ahmed.bougacha@gmail.com> | 2015-03-09 22:46:02 +0000 |
|---|---|---|
| committer | Ahmed Bougacha <ahmed.bougacha@gmail.com> | 2015-03-09 22:46:02 +0000 |
| commit | 540469d8a2f2cf7bc02e2d892e0b8441e512d735 (patch) | |
| tree | cb4ad41ea27d6e9994676a2a2f1a38fb36c31646 /llvm | |
| parent | be0a05060fe624b14e18856d7fce21bf7cd73de6 (diff) | |
| download | bcm5719-llvm-540469d8a2f2cf7bc02e2d892e0b8441e512d735.tar.gz bcm5719-llvm-540469d8a2f2cf7bc02e2d892e0b8441e512d735.zip | |
[X86] Add nounwind to vector-idiv.ll testcases. NFC.
In preparation for a patch where cfi directives get in the way.
llvm-svn: 231720
Diffstat (limited to 'llvm')
| -rw-r--r-- | llvm/test/CodeGen/X86/vector-idiv.ll | 28 |
1 files changed, 15 insertions, 13 deletions
diff --git a/llvm/test/CodeGen/X86/vector-idiv.ll b/llvm/test/CodeGen/X86/vector-idiv.ll index 06ce543e9cc..b95da1304a7 100644 --- a/llvm/test/CodeGen/X86/vector-idiv.ll +++ b/llvm/test/CodeGen/X86/vector-idiv.ll @@ -4,7 +4,7 @@ target triple = "x86_64-unknown-unknown" -define <4 x i32> @test1(<4 x i32> %a) { +define <4 x i32> @test1(<4 x i32> %a) #0 { ; SSE41-LABEL: test1: ; SSE41: # BB#0: ; SSE41-NEXT: movdqa {{.*#+}} xmm1 = [613566757,613566757,613566757,613566757] @@ -55,7 +55,7 @@ define <4 x i32> @test1(<4 x i32> %a) { ret <4 x i32> %div } -define <8 x i32> @test2(<8 x i32> %a) { +define <8 x i32> @test2(<8 x i32> %a) #0 { ; SSE41-LABEL: test2: ; SSE41: # BB#0: ; SSE41-NEXT: movdqa {{.*#+}} xmm2 = [613566757,613566757,613566757,613566757] @@ -126,7 +126,7 @@ define <8 x i32> @test2(<8 x i32> %a) { ret <8 x i32> %div } -define <8 x i16> @test3(<8 x i16> %a) { +define <8 x i16> @test3(<8 x i16> %a) #0 { ; SSE41-LABEL: test3: ; SSE41: # BB#0: ; SSE41-NEXT: movdqa {{.*#+}} xmm1 = [9363,9363,9363,9363,9363,9363,9363,9363] @@ -159,7 +159,7 @@ define <8 x i16> @test3(<8 x i16> %a) { ret <8 x i16> %div } -define <16 x i16> @test4(<16 x i16> %a) { +define <16 x i16> @test4(<16 x i16> %a) #0 { ; SSE41-LABEL: test4: ; SSE41: # BB#0: ; SSE41-NEXT: movdqa {{.*#+}} xmm2 = [9363,9363,9363,9363,9363,9363,9363,9363] @@ -204,7 +204,7 @@ define <16 x i16> @test4(<16 x i16> %a) { ret <16 x i16> %div } -define <8 x i16> @test5(<8 x i16> %a) { +define <8 x i16> @test5(<8 x i16> %a) #0 { ; SSE41-LABEL: test5: ; SSE41: # BB#0: ; SSE41-NEXT: pmulhw {{.*}}(%rip), %xmm0 @@ -234,7 +234,7 @@ define <8 x i16> @test5(<8 x i16> %a) { ret <8 x i16> %div } -define <16 x i16> @test6(<16 x i16> %a) { +define <16 x i16> @test6(<16 x i16> %a) #0 { ; SSE41-LABEL: test6: ; SSE41: # BB#0: ; SSE41-NEXT: movdqa {{.*#+}} xmm2 = [18725,18725,18725,18725,18725,18725,18725,18725] @@ -276,7 +276,7 @@ define <16 x i16> @test6(<16 x i16> %a) { ret <16 x i16> %div } -define <16 x i8> @test7(<16 x i8> %a) { +define <16 x i8> @test7(<16 x i8> %a) #0 { ; SSE41-LABEL: test7: ; SSE41: # BB#0: ; SSE41-NEXT: pextrb $1, %xmm0, %eax @@ -821,7 +821,7 @@ define <16 x i8> @test7(<16 x i8> %a) { ret <16 x i8> %div } -define <4 x i32> @test8(<4 x i32> %a) { +define <4 x i32> @test8(<4 x i32> %a) #0 { ; SSE41-LABEL: test8: ; SSE41: # BB#0: ; SSE41-NEXT: movdqa {{.*#+}} xmm1 = [2454267027,2454267027,2454267027,2454267027] @@ -883,7 +883,7 @@ define <4 x i32> @test8(<4 x i32> %a) { ret <4 x i32> %div } -define <8 x i32> @test9(<8 x i32> %a) { +define <8 x i32> @test9(<8 x i32> %a) #0 { ; SSE41-LABEL: test9: ; SSE41: # BB#0: ; SSE41-NEXT: movdqa {{.*#+}} xmm3 = [2454267027,2454267027,2454267027,2454267027] @@ -977,7 +977,7 @@ define <8 x i32> @test9(<8 x i32> %a) { ret <8 x i32> %div } -define <8 x i32> @test10(<8 x i32> %a) { +define <8 x i32> @test10(<8 x i32> %a) #0 { ; SSE41-LABEL: test10: ; SSE41: # BB#0: ; SSE41-NEXT: movdqa {{.*#+}} xmm2 = [613566757,613566757,613566757,613566757] @@ -1075,7 +1075,7 @@ define <8 x i32> @test10(<8 x i32> %a) { ret <8 x i32> %rem } -define <8 x i32> @test11(<8 x i32> %a) { +define <8 x i32> @test11(<8 x i32> %a) #0 { ; SSE41-LABEL: test11: ; SSE41: # BB#0: ; SSE41-NEXT: movdqa {{.*#+}} xmm2 = [2454267027,2454267027,2454267027,2454267027] @@ -1188,7 +1188,7 @@ define <8 x i32> @test11(<8 x i32> %a) { ret <8 x i32> %rem } -define <2 x i16> @test12() { +define <2 x i16> @test12() #0 { ; SSE41-LABEL: test12: ; SSE41: # BB#0: ; SSE41-NEXT: xorps %xmm0, %xmm0 @@ -1209,7 +1209,7 @@ define <2 x i16> @test12() { ret <2 x i16> %B9 } -define <4 x i32> @PR20355(<4 x i32> %a) { +define <4 x i32> @PR20355(<4 x i32> %a) #0 { ; SSE41-LABEL: PR20355: ; SSE41: # BB#0: # %entry ; SSE41-NEXT: movdqa {{.*#+}} xmm1 = [1431655766,1431655766,1431655766,1431655766] @@ -1263,3 +1263,5 @@ entry: %sdiv = sdiv <4 x i32> %a, <i32 3, i32 3, i32 3, i32 3> ret <4 x i32> %sdiv } + +attributes #0 = { nounwind } |

