1 ; RUN: llc < %s -relocation-model=pic -frame-pointer=all -verify-machineinstrs
2 target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64"
3 target triple = "x86_64-unknown-linux-gnu"
5 define void @_ZN12_GLOBAL__N_113SPUAsmPrinter15EmitInstructionEPKN4llvm12MachineInstrE(ptr %this, ptr %MI) nounwind inlinehint align 2 {
7 br i1 undef, label %"3.i", label %"4.i"
9 "3.i": ; preds = %entry
12 "4.i": ; preds = %entry
13 switch i32 undef, label %_ZN12_GLOBAL__N_113SPUAsmPrinter16printInstructionEPKN4llvm12MachineInstrERNS1_11raw_ostreamE.exit [
21 "5.i": ; preds = %"4.i"
24 "6.i": ; preds = %"4.i"
25 switch i32 undef, label %"11.i" [
28 i32 3, label %_ZN12_GLOBAL__N_113SPUAsmPrinter16printInstructionEPKN4llvm12MachineInstrERNS1_11raw_ostreamE.exit
32 "7.i": ; preds = %"4.i"
35 "8.i": ; preds = %"4.i"
38 "9.i": ; preds = %"4.i"
41 "11.i": ; preds = %"6.i"
42 switch i32 undef, label %"15.i" [
59 "12.i": ; preds = %"6.i"
62 "13.i": ; preds = %"6.i"
65 "14.i": ; preds = %"6.i"
68 "15.i": ; preds = %"11.i"
71 "16.i": ; preds = %"11.i"
74 "17.i": ; preds = %"11.i"
77 "18.i": ; preds = %"11.i"
80 "19.i": ; preds = %"11.i"
83 "20.i": ; preds = %"11.i"
86 "21.i": ; preds = %"11.i"
87 br i1 undef, label %"22.i", label %"23.i"
89 "22.i": ; preds = %"21.i"
92 "23.i": ; preds = %"21.i"
95 "24.i": ; preds = %"11.i"
98 "27.i": ; preds = %"11.i"
101 "28.i": ; preds = %"11.i"
104 "29.i": ; preds = %"11.i"
107 "30.i": ; preds = %"11.i"
110 "31.i": ; preds = %"11.i"
113 "32.i": ; preds = %"11.i"
116 "39.i": ; preds = %"11.i"
117 br i1 undef, label %"41.i", label %"40.i"
119 "40.i": ; preds = %"39.i"
122 "41.i": ; preds = %"39.i"
123 %0 = call i64 @_ZNK4llvm14MachineOperand6getImmEv(i8 undef) nounwind inlinehint ; <i64> [#uses=1]
124 %1 = trunc i64 %0 to i16 ; <i16> [#uses=1]
125 br i1 undef, label %"42.i", label %"43.i"
127 "42.i": ; preds = %"41.i"
130 "43.i": ; preds = %"41.i"
131 %2 = and i16 %1, -16 ; <i16> [#uses=1]
132 %3 = sext i16 %2 to i64 ; <i64> [#uses=1]
133 %4 = call i8 @_ZN4llvm11raw_ostreamlsEl(i8 undef, i64 %3) nounwind ; <i8> [#uses=0]
136 _ZN12_GLOBAL__N_113SPUAsmPrinter16printInstructionEPKN4llvm12MachineInstrERNS1_11raw_ostreamE.exit: ; preds = %"6.i", %"4.i"
140 declare i64 @_ZNK4llvm14MachineOperand6getImmEv(i8) nounwind inlinehint align 2
142 declare i8 @_ZN4llvm11raw_ostreamlsEl(i8, i64)