llvm.org GIT mirror llvm / e822046
Second attempt for fix Hexagon buildbot by moving test to under X86/ git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@297893 91177308-0d34-0410-b5e6-96231b3b80d8 Zvi Rackover 3 years ago
2 changed file(s) with 11 addition(s) and 11 deletion(s). Raw diff Collapse all Expand all
+0
-11
test/CodeGen/Generic/pr32278.ll less more
None ; PR32278
1
2 ; RUN: llc -mtriple=x86_64-unknown < %s
3
4 define i8 @foo_v4i1_0_0_1_1_2_2_3_3(i8 %in) {
5 %trunc = trunc i8 %in to i4
6 %mask = bitcast i4 %trunc to <4 x i1>
7 %s = shufflevector <4 x i1> %mask, <4 x i1> undef, <8 x i32>
8 %b = bitcast <8 x i1> %s to i8
9 ret i8 %b
10 }
0 ; PR32278
1
2 ; RUN: llc -mtriple=x86_64-unknown < %s
3
4 define i8 @foo_v4i1_0_0_1_1_2_2_3_3(i8 %in) {
5 %trunc = trunc i8 %in to i4
6 %mask = bitcast i4 %trunc to <4 x i1>
7 %s = shufflevector <4 x i1> %mask, <4 x i1> undef, <8 x i32>
8 %b = bitcast <8 x i1> %s to i8
9 ret i8 %b
10 }