llvm.org GIT mirror llvm / a8cf2f9
[DAGCombine] Add reproducer for pr32278 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@297822 91177308-0d34-0410-b5e6-96231b3b80d8 Zvi Rackover 3 years ago
1 changed file(s) with 12 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
0 ; PR32278
1 ; XFAIL:
2
3 ; RUN: llc < %s
4
5 define i8 @foo_v4i1_0_0_1_1_2_2_3_3(i8 %in) {
6 %trunc = trunc i8 %in to i4
7 %mask = bitcast i4 %trunc to <4 x i1>
8 %s = shufflevector <4 x i1> %mask, <4 x i1> undef, <8 x i32>
9 %b = bitcast <8 x i1> %s to i8
10 ret i8 %b
11 }