llvm.org GIT mirror llvm / 0a0990a
move X86-specific test This test case uses -mcpu=corei7 so it belongs in CodeGen/X86 Reviewed by: Nadav git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@169801 91177308-0d34-0410-b5e6-96231b3b80d8 Paul Redmond 7 years ago
2 changed file(s) with 8 addition(s) and 8 deletion(s). Raw diff Collapse all Expand all
+0
-8
test/CodeGen/Generic/2012-07-15-BuildVectorPromote.ll less more
None ; RUN: llc -mcpu=corei7 < %s
1 ; We don't care about the output, just that it doesn't crash
2
3 define <1 x i1> @buildvec_promote() {
4 %cmp = icmp ule <1 x i32> undef, undef
5 %sel = select i1 undef, <1 x i1> undef, <1 x i1> %cmp
6 ret <1 x i1> %sel
7 }
0 ; RUN: llc < %s -march=x86 -mcpu=corei7
1 ; We don't care about the output, just that it doesn't crash
2
3 define <1 x i1> @buildvec_promote() {
4 %cmp = icmp ule <1 x i32> undef, undef
5 %sel = select i1 undef, <1 x i1> undef, <1 x i1> %cmp
6 ret <1 x i1> %sel
7 }