diff options
author | Michael Kuperstein <mkuper@google.com> | 2016-08-25 21:55:41 +0000 |
---|---|---|
committer | Michael Kuperstein <mkuper@google.com> | 2016-08-25 21:55:41 +0000 |
commit | a6ccc8d365fadcac1e5ecfe6c3ac78c3aa7f9b61 (patch) | |
tree | 45333704a0f8dbbb13bfae661684e8a46ea957a8 /llvm/test/CodeGen/X86/avx512dq-intrinsics.ll | |
parent | 66b2ac0ee41a33b47989afa27fa0d69cad7baed4 (diff) | |
download | bcm5719-llvm-a6ccc8d365fadcac1e5ecfe6c3ac78c3aa7f9b61.tar.gz bcm5719-llvm-a6ccc8d365fadcac1e5ecfe6c3ac78c3aa7f9b61.zip |
Revert r274613 because it breaks the test suite with AVX512
This reverts most of r274613 and its follow-ups (r276347, r277289), due to
miscompiles in the test suite. The FastISel change was left in, because it
apparently fixes an unrelated issue.
This fixes 4 out of the 5 test failures in PR29112.
llvm-svn: 279782
Diffstat (limited to 'llvm/test/CodeGen/X86/avx512dq-intrinsics.ll')
-rw-r--r-- | llvm/test/CodeGen/X86/avx512dq-intrinsics.ll | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/llvm/test/CodeGen/X86/avx512dq-intrinsics.ll b/llvm/test/CodeGen/X86/avx512dq-intrinsics.ll index f8360098604..e684ad96d55 100644 --- a/llvm/test/CodeGen/X86/avx512dq-intrinsics.ll +++ b/llvm/test/CodeGen/X86/avx512dq-intrinsics.ll @@ -491,10 +491,12 @@ define i8 @test_int_x86_avx512_mask_fpclass_sd(<2 x double> %x0, i8 %x1) { ; CHECK-NEXT: kmovw %edi, %k1 ; CHECK-NEXT: vfpclasssd $2, %xmm0, %k0 {%k1} ; CHECK-NEXT: kmovw %k0, %ecx +; CHECK-NEXT: andl $1, %ecx ; CHECK-NEXT: vfpclasssd $4, %xmm0, %k0 ; CHECK-NEXT: kmovw %k0, %eax +; CHECK-NEXT: andl $1, %eax ; CHECK-NEXT: addb %cl, %al -; CHECK-NEXT: ## kill: %AL<def> %AL<kill> %AX<kill> +; CHECK-NEXT: ## kill: %AL<def> %AL<kill> %EAX<kill> ; CHECK-NEXT: retq %res = call i8 @llvm.x86.avx512.mask.fpclass.sd(<2 x double> %x0, i32 2, i8 %x1) %res1 = call i8 @llvm.x86.avx512.mask.fpclass.sd(<2 x double> %x0, i32 4, i8 -1) @@ -511,10 +513,12 @@ define i8 @test_int_x86_avx512_mask_fpclass_ss(<4 x float> %x0, i8 %x1) { ; CHECK-NEXT: kmovw %edi, %k1 ; CHECK-NEXT: vfpclassss $4, %xmm0, %k0 {%k1} ; CHECK-NEXT: kmovw %k0, %ecx +; CHECK-NEXT: andl $1, %ecx ; CHECK-NEXT: vfpclassss $4, %xmm0, %k0 ; CHECK-NEXT: kmovw %k0, %eax +; CHECK-NEXT: andl $1, %eax ; CHECK-NEXT: addb %cl, %al -; CHECK-NEXT: ## kill: %AL<def> %AL<kill> %AX<kill> +; CHECK-NEXT: ## kill: %AL<def> %AL<kill> %EAX<kill> ; CHECK-NEXT: retq %res = call i8 @llvm.x86.avx512.mask.fpclass.ss(<4 x float> %x0, i32 4, i8 %x1) %res1 = call i8 @llvm.x86.avx512.mask.fpclass.ss(<4 x float> %x0, i32 4, i8 -1) |