From 1d73b6f8a64599ddb3ba34e558ea4670fa859ffa Mon Sep 17 00:00:00 2001 From: Chandler Carruth Date: Wed, 23 Jul 2014 22:29:19 +0000 Subject: [PATCH] [x86] Rip out some broken test cases for avx512 i1 store support. It isn't reasonable to test storing things using undef pointers -- storing through those is at best "good luck" and really should be transformed to "unreachable". Random changes in the combiner can randomly break these tests for no good reason. I'm following up on the original commit regarding the right long-term strategy here. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@213810 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/CodeGen/X86/avx512-mov.ll | 29 ----------------------------- 1 file changed, 29 deletions(-) diff --git a/test/CodeGen/X86/avx512-mov.ll b/test/CodeGen/X86/avx512-mov.ll index 009802f1742..6d80c994e10 100644 --- a/test/CodeGen/X86/avx512-mov.ll +++ b/test/CodeGen/X86/avx512-mov.ll @@ -152,32 +152,3 @@ define void @test18(i8 * %addr, <8 x i64> %data) { store <8 x i64>%data, <8 x i64>* %vaddr, align 64 ret void } - -; CHECK-LABEL: store_i1_1 -; CHECK: movb -; CHECK: movb -; CHECK: ret -define void @store_i1_1() { - store i1 true, i1 addrspace(3)* undef, align 128 - store i1 false, i1 addrspace(2)* undef, align 128 - ret void -} - -; CHECK-LABEL: store_i1_2 -; CHECK: movb -; CHECK: ret -define void @store_i1_2(i64 %a, i64 %b) { - %res = icmp eq i64 %a, %b - store i1 %res, i1 addrspace(3)* undef, align 128 - ret void -} - -; CHECK-LABEL: store_i1_3 -; CHECK: kmovw -; CHECK: ret -define void @store_i1_3(i16 %a) { - %a_vec = bitcast i16 %a to <16 x i1> - %res = extractelement <16 x i1> %a_vec, i32 4 - store i1 %res, i1 addrspace(3)* undef, align 128 - ret void -} -- 2.11.0