Revert " [LoongArch][ISel] Check the number of sign bits in `PatGprGpr_32` (#107432)"
[llvm-project.git] / llvm / test / CodeGen / X86 / 2011-02-12-shuffle.ll
blob10e3b60dbecc77dc078f5e1ce685a04052674157
1 ; RUN: llc < %s
2 ; PR9165
4 target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-f80:128:128-v64:64:64-v128:128:128-a0:0:64-f80:32:32-n8:16:32"
5 target triple = "i686-pc-win32"
7 define void @m_387() nounwind {
8 entry:
9   br i1 undef, label %if.end, label %UnifiedReturnBlock
11 if.end:                                           ; preds = %entry
12   %tmp1067 = load <16 x i32>, ptr addrspace(1) null, align 64
13   %tmp1082 = shufflevector         <16 x i32> <i32 0, i32 0, i32 0, i32 undef, i32 undef, i32 0, i32 0, i32 undef, i32 0, i32 0, i32 undef, i32 undef, i32 0, i32 undef, i32 undef, i32 undef>, 
14                                                                                                                 <16 x i32> %tmp1067, 
15                                                                                                                 <16 x i32> <i32 0, i32 1, i32 2, i32 undef, i32 26, i32 5, i32 6, i32 undef, i32 8, i32 9, i32 31, i32 30, i32 12, i32 undef, i32 undef, i32 undef>
16   
17   %tmp1100 = shufflevector         <16 x i32> %tmp1082, 
18                                                                                                                 <16 x i32> %tmp1067, 
19                                                                                                                 <16 x i32> <i32 0, i32 1, i32 2, i32 undef, i32 4, i32 5, i32 6, i32 18, i32 8, i32 9, i32 10, i32 11, i32 12, i32 25, i32 undef, i32 17>
20   
21   %tmp1112 = shufflevector         <16 x i32> %tmp1100, 
22                                                                                                                 <16 x i32> %tmp1067, 
23                                                                                                                 <16 x i32> <i32 0, i32 1, i32 2, i32 24, i32 4, i32 5, i32 6, i32 7, i32 8, i32 9, i32 10, i32 11, i32 12, i32 13, i32 18, i32 15>
24   
25   store <16 x i32> %tmp1112, ptr addrspace(1) undef, align 64
26   
27   ret void
29 UnifiedReturnBlock:                               ; preds = %entry
30   ret void