brintos

brintos / llvm-project-archived public Read only

0
0
Text · 92.1 KiB · d564e74 Raw
1697 lines · plain
1; RUN: llc -mtriple=amdgcn -mcpu=tahiti < %s | FileCheck -check-prefix=GCN -check-prefix=TOVGPR %s2; RUN: llc -mtriple=amdgcn -mcpu=tonga -mattr=-flat-for-global < %s | FileCheck -check-prefix=GCN %s3 4; These tests check that the compiler won't crash when it needs to spill5; SGPRs.6 7; GCN-LABEL: {{^}}main:8 9; Make sure there are no direct spills for EXEC registers before WQM10; GCN-NOT: v_writelane_b32 v{{[0-9]+}}, exec_lo11; GCN-NOT: v_writelane_b32 v{{[0-9]+}}, exec_hi12 13; GCN: s_wqm14 15; Make sure not emitting unused scratch resource descriptor setup16; GCN-NOT: s_mov_b3217 18; GCN: s_mov_b32 m019 20; Make sure scratch space isn't being used for SGPR->VGPR spills21 22; Writing to M0 from an SMRD instruction will hang the GPU.23; GCN-NOT: s_buffer_load_dword m024 25; Make sure there are no direct spills/reloads for EXEC registers26; GCN-NOT: v_writelane_b32 v{{[0-9]+}}, exec_lo27; GCN-NOT: v_writelane_b32 v{{[0-9]+}}, exec_hi28; GCN-NOT: v_readlane_b32 exec_lo29; GCN-NOT: v_readlane_b32 exec_hi30 31; GCN: s_endpgm32 33; TOVGPR: ScratchSize: 0{{$}}34define amdgpu_ps void @main(ptr addrspace(4) inreg %arg, ptr addrspace(4) inreg %arg1, ptr addrspace(4) inreg %arg2, float inreg %arg3, i32 inreg %arg4, <2 x i32> %arg5, <2 x i32> %arg6, <2 x i32> %arg7, <3 x i32> %arg8, <2 x i32> %arg9, <2 x i32> %arg10, <2 x i32> %arg11, float %arg12, float %arg13, float %arg14, float %arg15, float %arg16, float %arg17, float %arg18, float %arg19, float %arg20) {35main_body:36  %lds = inttoptr i32 0 to ptr addrspace(3)37  %tmp21 = load <4 x i32>, ptr addrspace(4) %arg, !tbaa !038  %tmp22 = call float @llvm.amdgcn.s.buffer.load.f32(<4 x i32> %tmp21, i32 96, i32 0)39  %tmp23 = call float @llvm.amdgcn.s.buffer.load.f32(<4 x i32> %tmp21, i32 100, i32 0)40  %tmp24 = call float @llvm.amdgcn.s.buffer.load.f32(<4 x i32> %tmp21, i32 104, i32 0)41  %tmp25 = call float @llvm.amdgcn.s.buffer.load.f32(<4 x i32> %tmp21, i32 112, i32 0)42  %tmp26 = call float @llvm.amdgcn.s.buffer.load.f32(<4 x i32> %tmp21, i32 116, i32 0)43  %tmp27 = call float @llvm.amdgcn.s.buffer.load.f32(<4 x i32> %tmp21, i32 120, i32 0)44  %tmp28 = call float @llvm.amdgcn.s.buffer.load.f32(<4 x i32> %tmp21, i32 128, i32 0)45  %tmp29 = call float @llvm.amdgcn.s.buffer.load.f32(<4 x i32> %tmp21, i32 132, i32 0)46  %tmp30 = call float @llvm.amdgcn.s.buffer.load.f32(<4 x i32> %tmp21, i32 140, i32 0)47  %tmp31 = call float @llvm.amdgcn.s.buffer.load.f32(<4 x i32> %tmp21, i32 144, i32 0)48  %tmp32 = call float @llvm.amdgcn.s.buffer.load.f32(<4 x i32> %tmp21, i32 160, i32 0)49  %tmp33 = call float @llvm.amdgcn.s.buffer.load.f32(<4 x i32> %tmp21, i32 176, i32 0)50  %tmp34 = call float @llvm.amdgcn.s.buffer.load.f32(<4 x i32> %tmp21, i32 180, i32 0)51  %tmp35 = call float @llvm.amdgcn.s.buffer.load.f32(<4 x i32> %tmp21, i32 184, i32 0)52  %tmp36 = call float @llvm.amdgcn.s.buffer.load.f32(<4 x i32> %tmp21, i32 192, i32 0)53  %tmp37 = call float @llvm.amdgcn.s.buffer.load.f32(<4 x i32> %tmp21, i32 196, i32 0)54  %tmp38 = call float @llvm.amdgcn.s.buffer.load.f32(<4 x i32> %tmp21, i32 200, i32 0)55  %tmp39 = call float @llvm.amdgcn.s.buffer.load.f32(<4 x i32> %tmp21, i32 208, i32 0)56  %tmp40 = call float @llvm.amdgcn.s.buffer.load.f32(<4 x i32> %tmp21, i32 212, i32 0)57  %tmp41 = call float @llvm.amdgcn.s.buffer.load.f32(<4 x i32> %tmp21, i32 216, i32 0)58  %tmp42 = call float @llvm.amdgcn.s.buffer.load.f32(<4 x i32> %tmp21, i32 224, i32 0)59  %tmp43 = call float @llvm.amdgcn.s.buffer.load.f32(<4 x i32> %tmp21, i32 240, i32 0)60  %tmp44 = call float @llvm.amdgcn.s.buffer.load.f32(<4 x i32> %tmp21, i32 244, i32 0)61  %tmp45 = call float @llvm.amdgcn.s.buffer.load.f32(<4 x i32> %tmp21, i32 248, i32 0)62  %tmp46 = call float @llvm.amdgcn.s.buffer.load.f32(<4 x i32> %tmp21, i32 256, i32 0)63  %tmp47 = call float @llvm.amdgcn.s.buffer.load.f32(<4 x i32> %tmp21, i32 272, i32 0)64  %tmp48 = call float @llvm.amdgcn.s.buffer.load.f32(<4 x i32> %tmp21, i32 276, i32 0)65  %tmp49 = call float @llvm.amdgcn.s.buffer.load.f32(<4 x i32> %tmp21, i32 280, i32 0)66  %tmp50 = call float @llvm.amdgcn.s.buffer.load.f32(<4 x i32> %tmp21, i32 288, i32 0)67  %tmp51 = call float @llvm.amdgcn.s.buffer.load.f32(<4 x i32> %tmp21, i32 292, i32 0)68  %tmp52 = call float @llvm.amdgcn.s.buffer.load.f32(<4 x i32> %tmp21, i32 296, i32 0)69  %tmp53 = call float @llvm.amdgcn.s.buffer.load.f32(<4 x i32> %tmp21, i32 304, i32 0)70  %tmp54 = call float @llvm.amdgcn.s.buffer.load.f32(<4 x i32> %tmp21, i32 308, i32 0)71  %tmp55 = call float @llvm.amdgcn.s.buffer.load.f32(<4 x i32> %tmp21, i32 312, i32 0)72  %tmp56 = call float @llvm.amdgcn.s.buffer.load.f32(<4 x i32> %tmp21, i32 368, i32 0)73  %tmp57 = call float @llvm.amdgcn.s.buffer.load.f32(<4 x i32> %tmp21, i32 372, i32 0)74  %tmp58 = call float @llvm.amdgcn.s.buffer.load.f32(<4 x i32> %tmp21, i32 376, i32 0)75  %tmp59 = call float @llvm.amdgcn.s.buffer.load.f32(<4 x i32> %tmp21, i32 384, i32 0)76  %tmp61 = load <8 x i32>, ptr addrspace(4) %arg2, !tbaa !077  %tmp63 = load <4 x i32>, ptr addrspace(4) %arg1, !tbaa !078  %tmp63.bc = bitcast <4 x i32> %tmp63 to <4 x i32>79  %tmp64 = getelementptr [16 x <8 x i32>], ptr addrspace(4) %arg2, i64 0, i32 180  %tmp65 = load <8 x i32>, ptr addrspace(4) %tmp64, !tbaa !081  %tmp66 = getelementptr [32 x <4 x i32>], ptr addrspace(4) %arg1, i64 0, i32 182  %tmp67 = load <4 x i32>, ptr addrspace(4) %tmp66, !tbaa !083  %tmp68 = getelementptr [16 x <8 x i32>], ptr addrspace(4) %arg2, i64 0, i32 284  %tmp69 = load <8 x i32>, ptr addrspace(4) %tmp68, !tbaa !085  %tmp70 = getelementptr [32 x <4 x i32>], ptr addrspace(4) %arg1, i64 0, i32 286  %tmp71 = load <4 x i32>, ptr addrspace(4) %tmp70, !tbaa !087  %tmp72 = getelementptr [16 x <8 x i32>], ptr addrspace(4) %arg2, i64 0, i32 388  %tmp73 = load <8 x i32>, ptr addrspace(4) %tmp72, !tbaa !089  %tmp74 = getelementptr [32 x <4 x i32>], ptr addrspace(4) %arg1, i64 0, i32 390  %tmp75 = load <4 x i32>, ptr addrspace(4) %tmp74, !tbaa !091  %tmp76 = getelementptr [16 x <8 x i32>], ptr addrspace(4) %arg2, i64 0, i32 492  %tmp77 = load <8 x i32>, ptr addrspace(4) %tmp76, !tbaa !093  %tmp78 = getelementptr [32 x <4 x i32>], ptr addrspace(4) %arg1, i64 0, i32 494  %tmp79 = load <4 x i32>, ptr addrspace(4) %tmp78, !tbaa !095  %tmp80 = getelementptr [16 x <8 x i32>], ptr addrspace(4) %arg2, i64 0, i32 596  %tmp81 = load <8 x i32>, ptr addrspace(4) %tmp80, !tbaa !097  %tmp82 = getelementptr [32 x <4 x i32>], ptr addrspace(4) %arg1, i64 0, i32 598  %tmp83 = load <4 x i32>, ptr addrspace(4) %tmp82, !tbaa !099  %tmp84 = getelementptr [16 x <8 x i32>], ptr addrspace(4) %arg2, i64 0, i32 6100  %tmp85 = load <8 x i32>, ptr addrspace(4) %tmp84, !tbaa !0101  %tmp86 = getelementptr [32 x <4 x i32>], ptr addrspace(4) %arg1, i64 0, i32 6102  %tmp87 = load <4 x i32>, ptr addrspace(4) %tmp86, !tbaa !0103  %tmp88 = getelementptr [16 x <8 x i32>], ptr addrspace(4) %arg2, i64 0, i32 7104  %tmp89 = load <8 x i32>, ptr addrspace(4) %tmp88, !tbaa !0105  %tmp90 = getelementptr [32 x <4 x i32>], ptr addrspace(4) %arg1, i64 0, i32 7106  %tmp91 = load <4 x i32>, ptr addrspace(4) %tmp90, !tbaa !0107  %i.i = extractelement <2 x i32> %arg6, i32 0108  %j.i = extractelement <2 x i32> %arg6, i32 1109  %i.f.i = bitcast i32 %i.i to float110  %j.f.i = bitcast i32 %j.i to float111  %p1.i = call float @llvm.amdgcn.interp.p1(float %i.f.i, i32 0, i32 0, i32 %arg4) #0112  %p2.i = call float @llvm.amdgcn.interp.p2(float %p1.i, float %j.f.i, i32 0, i32 0, i32 %arg4) #0113  %i.i91 = extractelement <2 x i32> %arg6, i32 0114  %j.i92 = extractelement <2 x i32> %arg6, i32 1115  %i.f.i93 = bitcast i32 %i.i91 to float116  %j.f.i94 = bitcast i32 %j.i92 to float117  %p1.i95 = call float @llvm.amdgcn.interp.p1(float %i.f.i93, i32 1, i32 0, i32 %arg4) #0118  %p2.i96 = call float @llvm.amdgcn.interp.p2(float %p1.i95, float %j.f.i94, i32 1, i32 0, i32 %arg4) #0119  %i.i85 = extractelement <2 x i32> %arg6, i32 0120  %j.i86 = extractelement <2 x i32> %arg6, i32 1121  %i.f.i87 = bitcast i32 %i.i85 to float122  %j.f.i88 = bitcast i32 %j.i86 to float123  %p1.i89 = call float @llvm.amdgcn.interp.p1(float %i.f.i87, i32 0, i32 1, i32 %arg4) #0124  %p2.i90 = call float @llvm.amdgcn.interp.p2(float %p1.i89, float %j.f.i88, i32 0, i32 1, i32 %arg4) #0125  %i.i79 = extractelement <2 x i32> %arg6, i32 0126  %j.i80 = extractelement <2 x i32> %arg6, i32 1127  %i.f.i81 = bitcast i32 %i.i79 to float128  %j.f.i82 = bitcast i32 %j.i80 to float129  %p1.i83 = call float @llvm.amdgcn.interp.p1(float %i.f.i81, i32 1, i32 1, i32 %arg4) #0130  %p2.i84 = call float @llvm.amdgcn.interp.p2(float %p1.i83, float %j.f.i82, i32 1, i32 1, i32 %arg4) #0131  %i.i73 = extractelement <2 x i32> %arg6, i32 0132  %j.i74 = extractelement <2 x i32> %arg6, i32 1133  %i.f.i75 = bitcast i32 %i.i73 to float134  %j.f.i76 = bitcast i32 %j.i74 to float135  %p1.i77 = call float @llvm.amdgcn.interp.p1(float %i.f.i75, i32 2, i32 1, i32 %arg4) #0136  %p2.i78 = call float @llvm.amdgcn.interp.p2(float %p1.i77, float %j.f.i76, i32 2, i32 1, i32 %arg4) #0137  %i.i67 = extractelement <2 x i32> %arg6, i32 0138  %j.i68 = extractelement <2 x i32> %arg6, i32 1139  %i.f.i69 = bitcast i32 %i.i67 to float140  %j.f.i70 = bitcast i32 %j.i68 to float141  %p1.i71 = call float @llvm.amdgcn.interp.p1(float %i.f.i69, i32 0, i32 2, i32 %arg4) #0142  %p2.i72 = call float @llvm.amdgcn.interp.p2(float %p1.i71, float %j.f.i70, i32 0, i32 2, i32 %arg4) #0143  %i.i61 = extractelement <2 x i32> %arg6, i32 0144  %j.i62 = extractelement <2 x i32> %arg6, i32 1145  %i.f.i63 = bitcast i32 %i.i61 to float146  %j.f.i64 = bitcast i32 %j.i62 to float147  %p1.i65 = call float @llvm.amdgcn.interp.p1(float %i.f.i63, i32 1, i32 2, i32 %arg4) #0148  %p2.i66 = call float @llvm.amdgcn.interp.p2(float %p1.i65, float %j.f.i64, i32 1, i32 2, i32 %arg4) #0149  %i.i55 = extractelement <2 x i32> %arg6, i32 0150  %j.i56 = extractelement <2 x i32> %arg6, i32 1151  %i.f.i57 = bitcast i32 %i.i55 to float152  %j.f.i58 = bitcast i32 %j.i56 to float153  %p1.i59 = call float @llvm.amdgcn.interp.p1(float %i.f.i57, i32 2, i32 2, i32 %arg4) #0154  %p2.i60 = call float @llvm.amdgcn.interp.p2(float %p1.i59, float %j.f.i58, i32 2, i32 2, i32 %arg4) #0155  %i.i49 = extractelement <2 x i32> %arg6, i32 0156  %j.i50 = extractelement <2 x i32> %arg6, i32 1157  %i.f.i51 = bitcast i32 %i.i49 to float158  %j.f.i52 = bitcast i32 %j.i50 to float159  %p1.i53 = call float @llvm.amdgcn.interp.p1(float %i.f.i51, i32 0, i32 3, i32 %arg4) #0160  %p2.i54 = call float @llvm.amdgcn.interp.p2(float %p1.i53, float %j.f.i52, i32 0, i32 3, i32 %arg4) #0161  %i.i43 = extractelement <2 x i32> %arg6, i32 0162  %j.i44 = extractelement <2 x i32> %arg6, i32 1163  %i.f.i45 = bitcast i32 %i.i43 to float164  %j.f.i46 = bitcast i32 %j.i44 to float165  %p1.i47 = call float @llvm.amdgcn.interp.p1(float %i.f.i45, i32 1, i32 3, i32 %arg4) #0166  %p2.i48 = call float @llvm.amdgcn.interp.p2(float %p1.i47, float %j.f.i46, i32 1, i32 3, i32 %arg4) #0167  %i.i37 = extractelement <2 x i32> %arg6, i32 0168  %j.i38 = extractelement <2 x i32> %arg6, i32 1169  %i.f.i39 = bitcast i32 %i.i37 to float170  %j.f.i40 = bitcast i32 %j.i38 to float171  %p1.i41 = call float @llvm.amdgcn.interp.p1(float %i.f.i39, i32 2, i32 3, i32 %arg4) #0172  %p2.i42 = call float @llvm.amdgcn.interp.p2(float %p1.i41, float %j.f.i40, i32 2, i32 3, i32 %arg4) #0173  %i.i31 = extractelement <2 x i32> %arg6, i32 0174  %j.i32 = extractelement <2 x i32> %arg6, i32 1175  %i.f.i33 = bitcast i32 %i.i31 to float176  %j.f.i34 = bitcast i32 %j.i32 to float177  %p1.i35 = call float @llvm.amdgcn.interp.p1(float %i.f.i33, i32 0, i32 4, i32 %arg4) #0178  %p2.i36 = call float @llvm.amdgcn.interp.p2(float %p1.i35, float %j.f.i34, i32 0, i32 4, i32 %arg4) #0179  %i.i25 = extractelement <2 x i32> %arg6, i32 0180  %j.i26 = extractelement <2 x i32> %arg6, i32 1181  %i.f.i27 = bitcast i32 %i.i25 to float182  %j.f.i28 = bitcast i32 %j.i26 to float183  %p1.i29 = call float @llvm.amdgcn.interp.p1(float %i.f.i27, i32 1, i32 4, i32 %arg4) #0184  %p2.i30 = call float @llvm.amdgcn.interp.p2(float %p1.i29, float %j.f.i28, i32 1, i32 4, i32 %arg4) #0185  %i.i19 = extractelement <2 x i32> %arg6, i32 0186  %j.i20 = extractelement <2 x i32> %arg6, i32 1187  %i.f.i21 = bitcast i32 %i.i19 to float188  %j.f.i22 = bitcast i32 %j.i20 to float189  %p1.i23 = call float @llvm.amdgcn.interp.p1(float %i.f.i21, i32 2, i32 4, i32 %arg4) #0190  %p2.i24 = call float @llvm.amdgcn.interp.p2(float %p1.i23, float %j.f.i22, i32 2, i32 4, i32 %arg4) #0191  %i.i13 = extractelement <2 x i32> %arg6, i32 0192  %j.i14 = extractelement <2 x i32> %arg6, i32 1193  %i.f.i15 = bitcast i32 %i.i13 to float194  %j.f.i16 = bitcast i32 %j.i14 to float195  %p1.i17 = call float @llvm.amdgcn.interp.p1(float %i.f.i15, i32 0, i32 5, i32 %arg4) #0196  %p2.i18 = call float @llvm.amdgcn.interp.p2(float %p1.i17, float %j.f.i16, i32 0, i32 5, i32 %arg4) #0197  %i.i7 = extractelement <2 x i32> %arg6, i32 0198  %j.i8 = extractelement <2 x i32> %arg6, i32 1199  %i.f.i9 = bitcast i32 %i.i7 to float200  %j.f.i10 = bitcast i32 %j.i8 to float201  %p1.i11 = call float @llvm.amdgcn.interp.p1(float %i.f.i9, i32 1, i32 5, i32 %arg4) #0202  %p2.i12 = call float @llvm.amdgcn.interp.p2(float %p1.i11, float %j.f.i10, i32 1, i32 5, i32 %arg4) #0203  %i.i1 = extractelement <2 x i32> %arg6, i32 0204  %j.i2 = extractelement <2 x i32> %arg6, i32 1205  %i.f.i3 = bitcast i32 %i.i1 to float206  %j.f.i4 = bitcast i32 %j.i2 to float207  %p1.i5 = call float @llvm.amdgcn.interp.p1(float %i.f.i3, i32 2, i32 5, i32 %arg4) #0208  %p2.i6 = call float @llvm.amdgcn.interp.p2(float %p1.i5, float %j.f.i4, i32 2, i32 5, i32 %arg4) #0209  %mbcnt.lo.0 = call i32 @llvm.amdgcn.mbcnt.lo(i32 -1, i32 0)210  %tmp109 = call i32 @llvm.amdgcn.mbcnt.hi(i32 -1, i32 %mbcnt.lo.0)211  %tmp110 = getelementptr [64 x i32], ptr addrspace(3) %lds, i32 0, i32 %tmp109212  %tmp111 = bitcast float %p2.i to i32213  store i32 %tmp111, ptr addrspace(3) %tmp110214  %tmp112 = bitcast float %p2.i96 to i32215  store i32 %tmp112, ptr addrspace(3) %tmp110216  %mbcnt.lo.1 = call i32 @llvm.amdgcn.mbcnt.lo(i32 -1, i32 0)217  %tmp113 = call i32 @llvm.amdgcn.mbcnt.hi(i32 -1, i32 %mbcnt.lo.1)218  %tmp114 = getelementptr [64 x i32], ptr addrspace(3) %lds, i32 0, i32 %tmp113219  %tmp115 = and i32 %tmp113, -4220  %tmp116 = getelementptr [64 x i32], ptr addrspace(3) %lds, i32 0, i32 %tmp115221  %tmp117 = add i32 %tmp115, 1222  %tmp118 = getelementptr [64 x i32], ptr addrspace(3) %lds, i32 0, i32 %tmp117223  %tmp119 = bitcast float %p2.i to i32224  store i32 %tmp119, ptr addrspace(3) %tmp114225  %tmp120 = load i32, ptr addrspace(3) %tmp116226  %tmp121 = bitcast i32 %tmp120 to float227  %tmp122 = load i32, ptr addrspace(3) %tmp118228  %tmp123 = bitcast i32 %tmp122 to float229  %tmp124 = fsub float %tmp123, %tmp121230  %tmp125 = bitcast float %p2.i96 to i32231  store i32 %tmp125, ptr addrspace(3) %tmp114232  %tmp126 = load i32, ptr addrspace(3) %tmp116233  %tmp127 = bitcast i32 %tmp126 to float234  %tmp128 = load i32, ptr addrspace(3) %tmp118235  %tmp129 = bitcast i32 %tmp128 to float236  %tmp130 = fsub float %tmp129, %tmp127237  %tmp131 = insertelement <4 x float> poison, float %tmp124, i32 0238  %tmp132 = insertelement <4 x float> %tmp131, float %tmp130, i32 1239  %tmp133 = insertelement <4 x float> %tmp132, float %tmp130, i32 2240  %tmp134 = insertelement <4 x float> %tmp133, float %tmp130, i32 3241  %tmp135 = extractelement <4 x float> %tmp134, i32 0242  %tmp136 = extractelement <4 x float> %tmp134, i32 1243  %tmp137 = fmul float %tmp59, %p2.i244  %tmp138 = fmul float %tmp59, %p2.i96245  %tmp139 = fmul float %tmp59, %p2.i96246  %tmp140 = fmul float %tmp59, %p2.i96247  %mbcnt.lo.2 = call i32 @llvm.amdgcn.mbcnt.lo(i32 -1, i32 0)248  %tmp141 = call i32 @llvm.amdgcn.mbcnt.hi(i32 -1, i32 %mbcnt.lo.2)249  %tmp142 = getelementptr [64 x i32], ptr addrspace(3) %lds, i32 0, i32 %tmp141250  %tmp143 = bitcast float %tmp137 to i32251  store i32 %tmp143, ptr addrspace(3) %tmp142252  %tmp144 = bitcast float %tmp138 to i32253  store i32 %tmp144, ptr addrspace(3) %tmp142254  %tmp145 = bitcast float %tmp139 to i32255  store i32 %tmp145, ptr addrspace(3) %tmp142256  %tmp146 = bitcast float %tmp140 to i32257  store i32 %tmp146, ptr addrspace(3) %tmp142258  %mbcnt.lo.3 = call i32 @llvm.amdgcn.mbcnt.lo(i32 -1, i32 0)259  %tmp147 = call i32 @llvm.amdgcn.mbcnt.hi(i32 -1, i32 %mbcnt.lo.3)260  %tmp148 = getelementptr [64 x i32], ptr addrspace(3) %lds, i32 0, i32 %tmp147261  %tmp149 = and i32 %tmp147, -4262  %tmp150 = getelementptr [64 x i32], ptr addrspace(3) %lds, i32 0, i32 %tmp149263  %tmp151 = add i32 %tmp149, 2264  %tmp152 = getelementptr [64 x i32], ptr addrspace(3) %lds, i32 0, i32 %tmp151265  %tmp153 = bitcast float %tmp137 to i32266  store i32 %tmp153, ptr addrspace(3) %tmp148267  %tmp154 = load i32, ptr addrspace(3) %tmp150268  %tmp155 = bitcast i32 %tmp154 to float269  %tmp156 = load i32, ptr addrspace(3) %tmp152270  %tmp157 = bitcast i32 %tmp156 to float271  %tmp158 = fsub float %tmp157, %tmp155272  %tmp159 = bitcast float %tmp138 to i32273  store i32 %tmp159, ptr addrspace(3) %tmp148274  %tmp160 = load i32, ptr addrspace(3) %tmp150275  %tmp161 = bitcast i32 %tmp160 to float276  %tmp162 = load i32, ptr addrspace(3) %tmp152277  %tmp163 = bitcast i32 %tmp162 to float278  %tmp164 = fsub float %tmp163, %tmp161279  %tmp165 = bitcast float %tmp139 to i32280  store i32 %tmp165, ptr addrspace(3) %tmp148281  %tmp166 = load i32, ptr addrspace(3) %tmp150282  %tmp167 = bitcast i32 %tmp166 to float283  %tmp168 = load i32, ptr addrspace(3) %tmp152284  %tmp169 = bitcast i32 %tmp168 to float285  %tmp170 = fsub float %tmp169, %tmp167286  %tmp171 = bitcast float %tmp140 to i32287  store i32 %tmp171, ptr addrspace(3) %tmp148288  %tmp172 = load i32, ptr addrspace(3) %tmp150289  %tmp173 = bitcast i32 %tmp172 to float290  %tmp174 = load i32, ptr addrspace(3) %tmp152291  %tmp175 = bitcast i32 %tmp174 to float292  %tmp176 = fsub float %tmp175, %tmp173293  %tmp177 = insertelement <4 x float> poison, float %tmp158, i32 0294  %tmp178 = insertelement <4 x float> %tmp177, float %tmp164, i32 1295  %tmp179 = insertelement <4 x float> %tmp178, float %tmp170, i32 2296  %tmp180 = insertelement <4 x float> %tmp179, float %tmp176, i32 3297  %tmp181 = extractelement <4 x float> %tmp180, i32 0298  %tmp182 = extractelement <4 x float> %tmp180, i32 1299  %tmp183 = fdiv float 1.000000e+00, %p2.i78300  %tmp184 = fmul float %tmp32, %tmp183301  %tmp185 = fcmp uge float 1.000000e+00, %tmp184302  %tmp186 = select i1 %tmp185, float %tmp184, float 1.000000e+00303  %tmp187 = fmul float %tmp186, %tmp29304  %tmp188 = call float @llvm.ceil.f32(float %tmp187)305  %tmp189 = fcmp uge float 3.000000e+00, %tmp188306  %tmp190 = select i1 %tmp189, float 3.000000e+00, float %tmp188307  %tmp191 = fdiv float 1.000000e+00, %tmp190308  %tmp192 = fdiv float 1.000000e+00, %tmp29309  %tmp193 = fmul float %tmp190, %tmp192310  %tmp194 = fmul float %tmp30, %tmp193311  %tmp195 = fmul float %p2.i90, %p2.i90312  %tmp196 = fmul float %p2.i84, %p2.i84313  %tmp197 = fadd float %tmp196, %tmp195314  %tmp198 = fmul float %p2.i78, %p2.i78315  %tmp199 = fadd float %tmp197, %tmp198316  %tmp200 = call float @llvm.amdgcn.rsq.f32(float %tmp199)317  %tmp201 = fmul float %p2.i90, %tmp200318  %tmp202 = fmul float %p2.i84, %tmp200319  %tmp203 = fmul float %tmp201, %tmp28320  %tmp204 = fmul float %tmp202, %tmp28321  %tmp205 = fmul float %tmp203, -1.000000e+00322  %tmp206 = fmul float %tmp204, 1.000000e+00323  %tmp207 = fmul float %tmp205, %tmp31324  %tmp208 = fmul float %tmp206, %tmp31325  %tmp209 = fsub float -0.000000e+00, %tmp207326  %tmp210 = fadd float %p2.i, %tmp209327  %tmp211 = fsub float -0.000000e+00, %tmp208328  %tmp212 = fadd float %p2.i96, %tmp211329  %tmp213 = fmul float %tmp205, %tmp191330  %tmp214 = fmul float %tmp206, %tmp191331  %tmp215 = fmul float -1.000000e+00, %tmp191332  br label %LOOP333 334LOOP:                                             ; preds = %ENDIF, %main_body335  %temp24.0 = phi float [ 1.000000e+00, %main_body ], [ %tmp257, %ENDIF ]336  %temp28.0 = phi float [ %tmp210, %main_body ], [ %tmp252, %ENDIF ]337  %temp29.0 = phi float [ %tmp212, %main_body ], [ %tmp254, %ENDIF ]338  %temp30.0 = phi float [ 1.000000e+00, %main_body ], [ %tmp256, %ENDIF ]339  %tmp224 = fcmp oge float %temp24.0, %tmp190340  %tmp225 = sext i1 %tmp224 to i32341  %tmp226 = bitcast i32 %tmp225 to float342  %tmp227 = bitcast float %tmp226 to i32343  %tmp228 = icmp ne i32 %tmp227, 0344  br i1 %tmp228, label %IF, label %ENDIF345 346IF:                                               ; preds = %LOOP347  %tmp229 = bitcast float %tmp135 to i32348  %tmp230 = bitcast float %tmp181 to i32349  %tmp231 = bitcast float %tmp136 to i32350  %tmp232 = bitcast float %tmp182 to i32351  %tmp233 = insertelement <8 x i32> poison, i32 %tmp229, i32 0352  %tmp234 = insertelement <8 x i32> %tmp233, i32 %tmp230, i32 1353  %tmp235 = insertelement <8 x i32> %tmp234, i32 %tmp231, i32 2354  %tmp236 = insertelement <8 x i32> %tmp235, i32 %tmp232, i32 3355  br label %LOOP65356 357ENDIF:                                            ; preds = %LOOP358  %tmp243 = call <4 x float> @llvm.amdgcn.image.sample.d.2d.v4f32.f32.f32(i32 15, float %tmp135, float %tmp181, float %tmp136, float %tmp182, float %temp28.0, float %temp29.0, <8 x i32> %tmp61, <4 x i32> %tmp63.bc, i1 0, i32 0, i32 0)359  %tmp244 = extractelement <4 x float> %tmp243, i32 3360  %tmp245 = fcmp oge float %temp30.0, %tmp244361  %tmp246 = sext i1 %tmp245 to i32362  %tmp247 = bitcast i32 %tmp246 to float363  %tmp248 = bitcast float %tmp247 to i32364  %tmp249 = and i32 %tmp248, 1065353216365  %tmp250 = bitcast i32 %tmp249 to float366  %tmp251 = fmul float %tmp213, %tmp250367  %tmp252 = fadd float %tmp251, %temp28.0368  %tmp253 = fmul float %tmp214, %tmp250369  %tmp254 = fadd float %tmp253, %temp29.0370  %tmp255 = fmul float %tmp215, %tmp250371  %tmp256 = fadd float %tmp255, %temp30.0372  %tmp257 = fadd float %temp24.0, 1.000000e+00373  br label %LOOP374 375LOOP65:                                           ; preds = %ENDIF66, %IF376  %temp24.1 = phi float [ 0.000000e+00, %IF ], [ %tmp609, %ENDIF66 ]377  %temp28.1 = phi float [ %temp28.0, %IF ], [ %tmp604, %ENDIF66 ]378  %temp29.1 = phi float [ %temp29.0, %IF ], [ %tmp606, %ENDIF66 ]379  %temp30.1 = phi float [ %temp30.0, %IF ], [ %tmp608, %ENDIF66 ]380  %temp32.0 = phi float [ 1.000000e+00, %IF ], [ %tmp610, %ENDIF66 ]381  %tmp258 = fcmp oge float %temp24.1, %tmp194382  %tmp259 = sext i1 %tmp258 to i32383  %tmp260 = bitcast i32 %tmp259 to float384  %tmp261 = bitcast float %tmp260 to i32385  %tmp262 = icmp ne i32 %tmp261, 0386  br i1 %tmp262, label %IF67, label %ENDIF66387 388IF67:                                             ; preds = %LOOP65389  %tmp67.bc = bitcast <4 x i32> %tmp67 to <4 x i32>390  %tmp277 = call <4 x float> @llvm.amdgcn.image.sample.d.2d.v4f32.f32.f32(i32 15, float %tmp135, float %tmp181, float %tmp136, float %tmp182, float %temp28.1, float %temp29.1, <8 x i32> %tmp65, <4 x i32> %tmp67.bc, i1 0, i32 0, i32 0)391  %tmp278 = extractelement <4 x float> %tmp277, i32 0392  %tmp279 = extractelement <4 x float> %tmp277, i32 1393  %tmp280 = extractelement <4 x float> %tmp277, i32 2394  %tmp281 = extractelement <4 x float> %tmp277, i32 3395  %tmp282 = fmul float %tmp281, %tmp46396  %tmp83.bc = bitcast <4 x i32> %tmp83 to <4 x i32>397  %tmp297 = call <4 x float> @llvm.amdgcn.image.sample.d.2d.v4f32.f32.f32(i32 15, float %tmp135, float %tmp181, float %tmp136, float %tmp182, float %temp28.1, float %temp29.1, <8 x i32> %tmp81, <4 x i32> %tmp83.bc, i1 0, i32 0, i32 0)398  %tmp298 = extractelement <4 x float> %tmp297, i32 0399  %tmp299 = extractelement <4 x float> %tmp297, i32 1400  %tmp300 = extractelement <4 x float> %tmp297, i32 2401  %tmp79.bc = bitcast <4 x i32> %tmp79 to <4 x i32>402  %tmp315 = call <4 x float> @llvm.amdgcn.image.sample.d.2d.v4f32.f32.f32(i32 15, float %tmp135, float %tmp181, float %tmp136, float %tmp182, float %temp28.1, float %temp29.1, <8 x i32> %tmp77, <4 x i32> %tmp79.bc, i1 0, i32 0, i32 0)403  %tmp316 = extractelement <4 x float> %tmp315, i32 0404  %tmp317 = extractelement <4 x float> %tmp315, i32 1405  %tmp318 = extractelement <4 x float> %tmp315, i32 2406  %tmp319 = fmul float %tmp316, %tmp22407  %tmp320 = fmul float %tmp317, %tmp23408  %tmp321 = fmul float %tmp318, %tmp24409  %tmp322 = fmul float %tmp298, %tmp25410  %tmp323 = fadd float %tmp322, %tmp319411  %tmp324 = fmul float %tmp299, %tmp26412  %tmp325 = fadd float %tmp324, %tmp320413  %tmp326 = fmul float %tmp300, %tmp27414  %tmp327 = fadd float %tmp326, %tmp321415  %tmp328 = fadd float %tmp278, %tmp323416  %tmp329 = fadd float %tmp279, %tmp325417  %tmp330 = fadd float %tmp280, %tmp327418  %tmp345 = call <4 x float> @llvm.amdgcn.image.sample.d.2d.v4f32.f32.f32(i32 15, float %tmp135, float %tmp181, float %tmp136, float %tmp182, float %temp28.1, float %temp29.1, <8 x i32> %tmp61, <4 x i32> %tmp63.bc, i1 0, i32 0, i32 0)419  %tmp346 = extractelement <4 x float> %tmp345, i32 0420  %tmp347 = extractelement <4 x float> %tmp345, i32 1421  %tmp348 = extractelement <4 x float> %tmp345, i32 2422  %tmp349 = fadd float %tmp346, -5.000000e-01423  %tmp350 = fadd float %tmp347, -5.000000e-01424  %tmp351 = fadd float %tmp348, -5.000000e-01425  %tmp352 = fmul float %tmp349, %tmp349426  %tmp353 = fmul float %tmp350, %tmp350427  %tmp354 = fadd float %tmp353, %tmp352428  %tmp355 = fmul float %tmp351, %tmp351429  %tmp356 = fadd float %tmp354, %tmp355430  %tmp357 = call float @llvm.amdgcn.rsq.f32(float %tmp356)431  %tmp358 = fmul float %tmp349, %tmp357432  %tmp359 = fmul float %tmp350, %tmp357433  %tmp360 = fmul float %tmp351, %tmp357434  %tmp71.bc = bitcast <4 x i32> %tmp71 to <4 x i32>435  %tmp375 = call <4 x float> @llvm.amdgcn.image.sample.d.2d.v4f32.f32.f32(i32 15, float %tmp135, float %tmp181, float %tmp136, float %tmp182, float %temp28.1, float %temp29.1, <8 x i32> %tmp69, <4 x i32> %tmp71.bc, i1 0, i32 0, i32 0)436  %tmp376 = extractelement <4 x float> %tmp375, i32 0437  %tmp377 = extractelement <4 x float> %tmp375, i32 1438  %tmp378 = extractelement <4 x float> %tmp375, i32 2439  %tmp379 = extractelement <4 x float> %tmp375, i32 3440  %tmp380 = fsub float -0.000000e+00, %p2.i90441  %tmp381 = fsub float -0.000000e+00, %p2.i84442  %tmp382 = fsub float -0.000000e+00, %p2.i78443  %tmp383 = fmul float %tmp358, %tmp380444  %tmp384 = fmul float %tmp359, %tmp381445  %tmp385 = fadd float %tmp384, %tmp383446  %tmp386 = fmul float %tmp360, %tmp382447  %tmp387 = fadd float %tmp385, %tmp386448  %tmp388 = fmul float %tmp387, %tmp358449  %tmp389 = fmul float %tmp387, %tmp359450  %tmp390 = fmul float %tmp387, %tmp360451  %tmp391 = fmul float 2.000000e+00, %tmp388452  %tmp392 = fmul float 2.000000e+00, %tmp389453  %tmp393 = fmul float 2.000000e+00, %tmp390454  %tmp394 = fsub float -0.000000e+00, %tmp391455  %tmp395 = fadd float %tmp380, %tmp394456  %tmp396 = fsub float -0.000000e+00, %tmp392457  %tmp397 = fadd float %tmp381, %tmp396458  %tmp398 = fsub float -0.000000e+00, %tmp393459  %tmp399 = fadd float %tmp382, %tmp398460  %tmp400 = fmul float %tmp395, %p2.i72461  %tmp401 = fmul float %tmp395, %p2.i66462  %tmp402 = fmul float %tmp395, %p2.i60463  %tmp403 = fmul float %tmp397, %p2.i54464  %tmp404 = fadd float %tmp403, %tmp400465  %tmp405 = fmul float %tmp397, %p2.i48466  %tmp406 = fadd float %tmp405, %tmp401467  %tmp407 = fmul float %tmp397, %p2.i42468  %tmp408 = fadd float %tmp407, %tmp402469  %tmp409 = fmul float %tmp399, %p2.i36470  %tmp410 = fadd float %tmp409, %tmp404471  %tmp411 = fmul float %tmp399, %p2.i30472  %tmp412 = fadd float %tmp411, %tmp406473  %tmp413 = fmul float %tmp399, %p2.i24474  %tmp414 = fadd float %tmp413, %tmp408475  %tmp87.bc = bitcast <4 x i32> %tmp87 to <4 x i32>476  %tmp429 = call <4 x float> @llvm.amdgcn.image.sample.d.2d.v4f32.f32.f32(i32 15, float %tmp135, float %tmp181, float %tmp136, float %tmp182, float %temp28.1, float %temp29.1, <8 x i32> %tmp85, <4 x i32> %tmp87.bc, i1 0, i32 0, i32 0)477  %tmp430 = extractelement <4 x float> %tmp429, i32 0478  %tmp431 = extractelement <4 x float> %tmp429, i32 1479  %tmp432 = extractelement <4 x float> %tmp429, i32 2480  %tmp433 = fmul float %tmp47, %tmp410481  %tmp434 = fmul float %tmp48, %tmp410482  %tmp435 = fmul float %tmp49, %tmp410483  %tmp436 = fmul float %tmp50, %tmp412484  %tmp437 = fadd float %tmp436, %tmp433485  %tmp438 = fmul float %tmp51, %tmp412486  %tmp439 = fadd float %tmp438, %tmp434487  %tmp440 = fmul float %tmp52, %tmp412488  %tmp441 = fadd float %tmp440, %tmp435489  %tmp442 = fmul float %tmp53, %tmp414490  %tmp443 = fadd float %tmp442, %tmp437491  %tmp444 = fmul float %tmp54, %tmp414492  %tmp445 = fadd float %tmp444, %tmp439493  %tmp446 = fmul float %tmp55, %tmp414494  %tmp447 = fadd float %tmp446, %tmp441495  %tmp448 = insertelement <4 x float> poison, float %tmp443, i32 0496  %tmp449 = insertelement <4 x float> %tmp448, float %tmp445, i32 1497  %tmp450 = insertelement <4 x float> %tmp449, float %tmp447, i32 2498  %tmp451 = insertelement <4 x float> %tmp450, float %tmp194, i32 3499  %tmp451.x = extractelement <4 x float> %tmp451, i32 0500  %tmp451.y = extractelement <4 x float> %tmp451, i32 1501  %tmp451.z = extractelement <4 x float> %tmp451, i32 2502  %cubetc = call float @llvm.amdgcn.cubetc(float %tmp451.x, float %tmp451.y, float %tmp451.z)503  %cubesc = call float @llvm.amdgcn.cubesc(float %tmp451.x, float %tmp451.y, float %tmp451.z)504  %cubema = call float @llvm.amdgcn.cubema(float %tmp451.x, float %tmp451.y, float %tmp451.z)505  %cubeid = call float @llvm.amdgcn.cubeid(float %tmp451.x, float %tmp451.y, float %tmp451.z)506  %tmp452.0 = insertelement <4 x float> poison, float %cubetc, i32 0507  %tmp452.1 = insertelement <4 x float> %tmp452.0, float %cubesc, i32 1508  %tmp452.2 = insertelement <4 x float> %tmp452.1, float %cubema, i32 2509  %tmp452 = insertelement <4 x float> %tmp452.2, float %cubeid, i32 3510  %tmp453 = extractelement <4 x float> %tmp452, i32 0511  %tmp454 = extractelement <4 x float> %tmp452, i32 1512  %tmp455 = extractelement <4 x float> %tmp452, i32 2513  %tmp456 = extractelement <4 x float> %tmp452, i32 3514  %tmp457 = call float @llvm.fabs.f32(float %tmp455)515  %tmp458 = fdiv float 1.000000e+00, %tmp457516  %tmp459 = fmul float %tmp453, %tmp458517  %tmp460 = fadd float %tmp459, 1.500000e+00518  %tmp461 = fmul float %tmp454, %tmp458519  %tmp462 = fadd float %tmp461, 1.500000e+00520  %tmp91.bc = bitcast <4 x i32> %tmp91 to <4 x i32>521  %tmp470 = call <4 x float> @llvm.amdgcn.image.sample.cube.v4f32.f32(i32 15, float %tmp462, float %tmp460, float %tmp456, <8 x i32> %tmp89, <4 x i32> %tmp91.bc, i1 0, i32 0, i32 0) #0522  %tmp471 = extractelement <4 x float> %tmp470, i32 0523  %tmp472 = extractelement <4 x float> %tmp470, i32 1524  %tmp473 = extractelement <4 x float> %tmp470, i32 2525  %tmp474 = fmul float %tmp430, %tmp471526  %tmp475 = fadd float %tmp474, %tmp328527  %tmp476 = fmul float %tmp431, %tmp472528  %tmp477 = fadd float %tmp476, %tmp329529  %tmp478 = fmul float %tmp432, %tmp473530  %tmp479 = fadd float %tmp478, %tmp330531  %tmp480 = fmul float %p2.i18, %p2.i18532  %tmp481 = fmul float %p2.i12, %p2.i12533  %tmp482 = fadd float %tmp481, %tmp480534  %tmp483 = fmul float %p2.i6, %p2.i6535  %tmp484 = fadd float %tmp482, %tmp483536  %tmp485 = call float @llvm.amdgcn.rsq.f32(float %tmp484)537  %tmp486 = fmul float %p2.i18, %tmp485538  %tmp487 = fmul float %p2.i12, %tmp485539  %tmp488 = fmul float %p2.i6, %tmp485540  %tmp489 = fmul float %tmp376, %tmp39541  %tmp490 = fmul float %tmp377, %tmp40542  %tmp491 = fmul float %tmp378, %tmp41543  %tmp492 = fmul float %tmp358, %tmp486544  %tmp493 = fmul float %tmp359, %tmp487545  %tmp494 = fadd float %tmp493, %tmp492546  %tmp495 = fmul float %tmp360, %tmp488547  %tmp496 = fadd float %tmp494, %tmp495548  %tmp497 = fmul float %tmp496, %tmp358549  %tmp498 = fmul float %tmp496, %tmp359550  %tmp499 = fmul float %tmp496, %tmp360551  %tmp500 = fmul float 2.000000e+00, %tmp497552  %tmp501 = fmul float 2.000000e+00, %tmp498553  %tmp502 = fmul float 2.000000e+00, %tmp499554  %tmp503 = fsub float -0.000000e+00, %tmp500555  %tmp504 = fadd float %tmp486, %tmp503556  %tmp505 = fsub float -0.000000e+00, %tmp501557  %tmp506 = fadd float %tmp487, %tmp505558  %tmp507 = fsub float -0.000000e+00, %tmp502559  %tmp508 = fadd float %tmp488, %tmp507560  %tmp509 = fmul float %p2.i90, %p2.i90561  %tmp510 = fmul float %p2.i84, %p2.i84562  %tmp511 = fadd float %tmp510, %tmp509563  %tmp512 = fmul float %p2.i78, %p2.i78564  %tmp513 = fadd float %tmp511, %tmp512565  %tmp514 = call float @llvm.amdgcn.rsq.f32(float %tmp513)566  %tmp515 = fmul float %p2.i90, %tmp514567  %tmp516 = fmul float %p2.i84, %tmp514568  %tmp517 = fmul float %p2.i78, %tmp514569  %tmp518 = fmul float %tmp504, %tmp515570  %tmp519 = fmul float %tmp506, %tmp516571  %tmp520 = fadd float %tmp519, %tmp518572  %tmp521 = fmul float %tmp508, %tmp517573  %tmp522 = fadd float %tmp520, %tmp521574  %tmp523 = fsub float -0.000000e+00, %tmp522575  %tmp524 = fcmp uge float %tmp523, 0.000000e+00576  %tmp525 = select i1 %tmp524, float %tmp523, float 0.000000e+00577  %tmp526 = fmul float %tmp42, %tmp379578  %tmp527 = fadd float %tmp526, 1.000000e+00579  %tmp528 = call float @llvm.pow.f32(float %tmp525, float %tmp527)580  %tmp529 = fmul float %tmp475, %tmp36581  %tmp530 = fmul float %tmp477, %tmp37582  %tmp531 = fmul float %tmp479, %tmp38583  %tmp532 = fmul float %tmp358, %tmp486584  %tmp533 = fmul float %tmp359, %tmp487585  %tmp534 = fadd float %tmp533, %tmp532586  %tmp535 = fmul float %tmp360, %tmp488587  %tmp536 = fadd float %tmp534, %tmp535588  %tmp537 = fcmp uge float %tmp536, 0.000000e+00589  %tmp538 = select i1 %tmp537, float %tmp536, float 0.000000e+00590  %tmp539 = fmul float %tmp529, %tmp538591  %tmp540 = fmul float %tmp530, %tmp538592  %tmp541 = fmul float %tmp531, %tmp538593  %tmp542 = fmul float %tmp489, %tmp528594  %tmp543 = fadd float %tmp542, %tmp539595  %tmp544 = fmul float %tmp490, %tmp528596  %tmp545 = fadd float %tmp544, %tmp540597  %tmp546 = fmul float %tmp491, %tmp528598  %tmp547 = fadd float %tmp546, %tmp541599  %tmp548 = fmul float %tmp475, %tmp33600  %tmp549 = fmul float %tmp477, %tmp34601  %tmp550 = fmul float %tmp479, %tmp35602  %tmp551 = fmul float %tmp543, %tmp56603  %tmp552 = fadd float %tmp551, %tmp548604  %tmp553 = fmul float %tmp545, %tmp57605  %tmp554 = fadd float %tmp553, %tmp549606  %tmp555 = fmul float %tmp547, %tmp58607  %tmp556 = fadd float %tmp555, %tmp550608  %tmp75.bc = bitcast <4 x i32> %tmp75 to <4 x i32>609  %tmp571 = call <4 x float> @llvm.amdgcn.image.sample.d.2d.v4f32.f32.f32(i32 15, float %tmp135, float %tmp181, float %tmp136, float %tmp182, float %temp28.1, float %temp29.1, <8 x i32> %tmp73, <4 x i32> %tmp75.bc, i1 0, i32 0, i32 0)610  %tmp572 = extractelement <4 x float> %tmp571, i32 0611  %tmp573 = extractelement <4 x float> %tmp571, i32 1612  %tmp574 = extractelement <4 x float> %tmp571, i32 2613  %tmp575 = fmul float %tmp572, %tmp43614  %tmp576 = fadd float %tmp575, %tmp552615  %tmp577 = fmul float %tmp573, %tmp44616  %tmp578 = fadd float %tmp577, %tmp554617  %tmp579 = fmul float %tmp574, %tmp45618  %tmp580 = fadd float %tmp579, %tmp556619  %tmp581 = call <2 x half> @llvm.amdgcn.cvt.pkrtz(float %tmp576, float %tmp578)620  %tmp583 = call <2 x half> @llvm.amdgcn.cvt.pkrtz(float %tmp580, float %tmp282)621  call void @llvm.amdgcn.exp.compr.v2f16(i32 0, i32 15, <2 x half> %tmp581, <2 x half> %tmp583, i1 true, i1 true) #0622  ret void623 624ENDIF66:                                          ; preds = %LOOP65625  %tmp591 = call <4 x float> @llvm.amdgcn.image.sample.d.2d.v4f32.f32.f32(i32 15, float %tmp135, float %tmp181, float %tmp136, float %tmp182, float %temp28.1, float %temp29.1, <8 x i32> %tmp61, <4 x i32> %tmp63.bc, i1 0, i32 0, i32 0)626  %tmp592 = extractelement <4 x float> %tmp591, i32 3627  %tmp593 = fcmp oge float %temp30.1, %tmp592628  %tmp594 = sext i1 %tmp593 to i32629  %tmp595 = bitcast i32 %tmp594 to float630  %tmp596 = bitcast float %tmp595 to i32631  %tmp597 = and i32 %tmp596, 1065353216632  %tmp598 = bitcast i32 %tmp597 to float633  %tmp599 = fmul float 5.000000e-01, %temp32.0634  %tmp600 = fsub float -0.000000e+00, %tmp599635  %tmp601 = fmul float %tmp598, %temp32.0636  %tmp602 = fadd float %tmp601, %tmp600637  %tmp603 = fmul float %tmp213, %tmp602638  %tmp604 = fadd float %tmp603, %temp28.1639  %tmp605 = fmul float %tmp214, %tmp602640  %tmp606 = fadd float %tmp605, %temp29.1641  %tmp607 = fmul float %tmp215, %tmp602642  %tmp608 = fadd float %tmp607, %temp30.1643  %tmp609 = fadd float %temp24.1, 1.000000e+00644  %tmp610 = fmul float %temp32.0, 5.000000e-01645  br label %LOOP65646}647 648; GCN-LABEL: {{^}}main1:649; GCN: s_endpgm650; TOVGPR: ScratchSize: 0{{$}}651define amdgpu_ps void @main1(ptr addrspace(4) inreg %arg, ptr addrspace(4) inreg %arg1, ptr addrspace(4) inreg %arg2, float inreg %arg3, i32 inreg %arg4, <2 x i32> %arg5, <2 x i32> %arg6, <2 x i32> %arg7, <3 x i32> %arg8, <2 x i32> %arg9, <2 x i32> %arg10, <2 x i32> %arg11, float %arg12, float %arg13, float %arg14, float %arg15, float %arg16, float %arg17, float %arg18, float %arg19, float %arg20) #0 {652main_body:653  %tmp21 = load <4 x i32>, ptr addrspace(4) %arg, !tbaa !0654  %tmp22 = call float @llvm.amdgcn.s.buffer.load.f32(<4 x i32> %tmp21, i32 0, i32 0)655  %tmp23 = call float @llvm.amdgcn.s.buffer.load.f32(<4 x i32> %tmp21, i32 4, i32 0)656  %tmp24 = call float @llvm.amdgcn.s.buffer.load.f32(<4 x i32> %tmp21, i32 8, i32 0)657  %tmp25 = call float @llvm.amdgcn.s.buffer.load.f32(<4 x i32> %tmp21, i32 12, i32 0)658  %tmp26 = call float @llvm.amdgcn.s.buffer.load.f32(<4 x i32> %tmp21, i32 28, i32 0)659  %tmp27 = call float @llvm.amdgcn.s.buffer.load.f32(<4 x i32> %tmp21, i32 48, i32 0)660  %tmp28 = call float @llvm.amdgcn.s.buffer.load.f32(<4 x i32> %tmp21, i32 52, i32 0)661  %tmp29 = call float @llvm.amdgcn.s.buffer.load.f32(<4 x i32> %tmp21, i32 56, i32 0)662  %tmp30 = call float @llvm.amdgcn.s.buffer.load.f32(<4 x i32> %tmp21, i32 64, i32 0)663  %tmp31 = call float @llvm.amdgcn.s.buffer.load.f32(<4 x i32> %tmp21, i32 68, i32 0)664  %tmp32 = call float @llvm.amdgcn.s.buffer.load.f32(<4 x i32> %tmp21, i32 72, i32 0)665  %tmp33 = call float @llvm.amdgcn.s.buffer.load.f32(<4 x i32> %tmp21, i32 76, i32 0)666  %tmp34 = call float @llvm.amdgcn.s.buffer.load.f32(<4 x i32> %tmp21, i32 128, i32 0)667  %tmp35 = call float @llvm.amdgcn.s.buffer.load.f32(<4 x i32> %tmp21, i32 132, i32 0)668  %tmp36 = call float @llvm.amdgcn.s.buffer.load.f32(<4 x i32> %tmp21, i32 144, i32 0)669  %tmp37 = call float @llvm.amdgcn.s.buffer.load.f32(<4 x i32> %tmp21, i32 148, i32 0)670  %tmp38 = call float @llvm.amdgcn.s.buffer.load.f32(<4 x i32> %tmp21, i32 152, i32 0)671  %tmp39 = call float @llvm.amdgcn.s.buffer.load.f32(<4 x i32> %tmp21, i32 160, i32 0)672  %tmp40 = call float @llvm.amdgcn.s.buffer.load.f32(<4 x i32> %tmp21, i32 164, i32 0)673  %tmp41 = call float @llvm.amdgcn.s.buffer.load.f32(<4 x i32> %tmp21, i32 168, i32 0)674  %tmp42 = call float @llvm.amdgcn.s.buffer.load.f32(<4 x i32> %tmp21, i32 172, i32 0)675  %tmp43 = call float @llvm.amdgcn.s.buffer.load.f32(<4 x i32> %tmp21, i32 176, i32 0)676  %tmp44 = call float @llvm.amdgcn.s.buffer.load.f32(<4 x i32> %tmp21, i32 180, i32 0)677  %tmp45 = call float @llvm.amdgcn.s.buffer.load.f32(<4 x i32> %tmp21, i32 184, i32 0)678  %tmp46 = call float @llvm.amdgcn.s.buffer.load.f32(<4 x i32> %tmp21, i32 192, i32 0)679  %tmp47 = call float @llvm.amdgcn.s.buffer.load.f32(<4 x i32> %tmp21, i32 196, i32 0)680  %tmp48 = call float @llvm.amdgcn.s.buffer.load.f32(<4 x i32> %tmp21, i32 200, i32 0)681  %tmp49 = call float @llvm.amdgcn.s.buffer.load.f32(<4 x i32> %tmp21, i32 208, i32 0)682  %tmp50 = call float @llvm.amdgcn.s.buffer.load.f32(<4 x i32> %tmp21, i32 212, i32 0)683  %tmp51 = call float @llvm.amdgcn.s.buffer.load.f32(<4 x i32> %tmp21, i32 216, i32 0)684  %tmp52 = call float @llvm.amdgcn.s.buffer.load.f32(<4 x i32> %tmp21, i32 220, i32 0)685  %tmp53 = call float @llvm.amdgcn.s.buffer.load.f32(<4 x i32> %tmp21, i32 236, i32 0)686  %tmp54 = call float @llvm.amdgcn.s.buffer.load.f32(<4 x i32> %tmp21, i32 240, i32 0)687  %tmp55 = call float @llvm.amdgcn.s.buffer.load.f32(<4 x i32> %tmp21, i32 244, i32 0)688  %tmp56 = call float @llvm.amdgcn.s.buffer.load.f32(<4 x i32> %tmp21, i32 248, i32 0)689  %tmp57 = call float @llvm.amdgcn.s.buffer.load.f32(<4 x i32> %tmp21, i32 252, i32 0)690  %tmp58 = call float @llvm.amdgcn.s.buffer.load.f32(<4 x i32> %tmp21, i32 256, i32 0)691  %tmp59 = call float @llvm.amdgcn.s.buffer.load.f32(<4 x i32> %tmp21, i32 260, i32 0)692  %tmp60 = call float @llvm.amdgcn.s.buffer.load.f32(<4 x i32> %tmp21, i32 264, i32 0)693  %tmp61 = call float @llvm.amdgcn.s.buffer.load.f32(<4 x i32> %tmp21, i32 268, i32 0)694  %tmp62 = call float @llvm.amdgcn.s.buffer.load.f32(<4 x i32> %tmp21, i32 272, i32 0)695  %tmp63 = call float @llvm.amdgcn.s.buffer.load.f32(<4 x i32> %tmp21, i32 276, i32 0)696  %tmp64 = call float @llvm.amdgcn.s.buffer.load.f32(<4 x i32> %tmp21, i32 280, i32 0)697  %tmp65 = call float @llvm.amdgcn.s.buffer.load.f32(<4 x i32> %tmp21, i32 284, i32 0)698  %tmp66 = call float @llvm.amdgcn.s.buffer.load.f32(<4 x i32> %tmp21, i32 288, i32 0)699  %tmp67 = call float @llvm.amdgcn.s.buffer.load.f32(<4 x i32> %tmp21, i32 292, i32 0)700  %tmp68 = call float @llvm.amdgcn.s.buffer.load.f32(<4 x i32> %tmp21, i32 464, i32 0)701  %tmp69 = call float @llvm.amdgcn.s.buffer.load.f32(<4 x i32> %tmp21, i32 468, i32 0)702  %tmp70 = call float @llvm.amdgcn.s.buffer.load.f32(<4 x i32> %tmp21, i32 472, i32 0)703  %tmp71 = call float @llvm.amdgcn.s.buffer.load.f32(<4 x i32> %tmp21, i32 496, i32 0)704  %tmp72 = call float @llvm.amdgcn.s.buffer.load.f32(<4 x i32> %tmp21, i32 500, i32 0)705  %tmp73 = call float @llvm.amdgcn.s.buffer.load.f32(<4 x i32> %tmp21, i32 504, i32 0)706  %tmp74 = call float @llvm.amdgcn.s.buffer.load.f32(<4 x i32> %tmp21, i32 512, i32 0)707  %tmp75 = call float @llvm.amdgcn.s.buffer.load.f32(<4 x i32> %tmp21, i32 516, i32 0)708  %tmp76 = call float @llvm.amdgcn.s.buffer.load.f32(<4 x i32> %tmp21, i32 524, i32 0)709  %tmp77 = call float @llvm.amdgcn.s.buffer.load.f32(<4 x i32> %tmp21, i32 532, i32 0)710  %tmp78 = call float @llvm.amdgcn.s.buffer.load.f32(<4 x i32> %tmp21, i32 536, i32 0)711  %tmp79 = call float @llvm.amdgcn.s.buffer.load.f32(<4 x i32> %tmp21, i32 540, i32 0)712  %tmp80 = call float @llvm.amdgcn.s.buffer.load.f32(<4 x i32> %tmp21, i32 544, i32 0)713  %tmp81 = call float @llvm.amdgcn.s.buffer.load.f32(<4 x i32> %tmp21, i32 548, i32 0)714  %tmp82 = call float @llvm.amdgcn.s.buffer.load.f32(<4 x i32> %tmp21, i32 552, i32 0)715  %tmp83 = call float @llvm.amdgcn.s.buffer.load.f32(<4 x i32> %tmp21, i32 556, i32 0)716  %tmp84 = call float @llvm.amdgcn.s.buffer.load.f32(<4 x i32> %tmp21, i32 560, i32 0)717  %tmp85 = call float @llvm.amdgcn.s.buffer.load.f32(<4 x i32> %tmp21, i32 564, i32 0)718  %tmp86 = call float @llvm.amdgcn.s.buffer.load.f32(<4 x i32> %tmp21, i32 568, i32 0)719  %tmp87 = call float @llvm.amdgcn.s.buffer.load.f32(<4 x i32> %tmp21, i32 572, i32 0)720  %tmp88 = call float @llvm.amdgcn.s.buffer.load.f32(<4 x i32> %tmp21, i32 576, i32 0)721  %tmp89 = call float @llvm.amdgcn.s.buffer.load.f32(<4 x i32> %tmp21, i32 580, i32 0)722  %tmp90 = call float @llvm.amdgcn.s.buffer.load.f32(<4 x i32> %tmp21, i32 584, i32 0)723  %tmp91 = call float @llvm.amdgcn.s.buffer.load.f32(<4 x i32> %tmp21, i32 588, i32 0)724  %tmp92 = call float @llvm.amdgcn.s.buffer.load.f32(<4 x i32> %tmp21, i32 592, i32 0)725  %tmp93 = call float @llvm.amdgcn.s.buffer.load.f32(<4 x i32> %tmp21, i32 596, i32 0)726  %tmp94 = call float @llvm.amdgcn.s.buffer.load.f32(<4 x i32> %tmp21, i32 600, i32 0)727  %tmp95 = call float @llvm.amdgcn.s.buffer.load.f32(<4 x i32> %tmp21, i32 604, i32 0)728  %tmp96 = call float @llvm.amdgcn.s.buffer.load.f32(<4 x i32> %tmp21, i32 608, i32 0)729  %tmp97 = call float @llvm.amdgcn.s.buffer.load.f32(<4 x i32> %tmp21, i32 612, i32 0)730  %tmp98 = call float @llvm.amdgcn.s.buffer.load.f32(<4 x i32> %tmp21, i32 616, i32 0)731  %tmp99 = call float @llvm.amdgcn.s.buffer.load.f32(<4 x i32> %tmp21, i32 624, i32 0)732  %tmp100 = call float @llvm.amdgcn.s.buffer.load.f32(<4 x i32> %tmp21, i32 628, i32 0)733  %tmp101 = call float @llvm.amdgcn.s.buffer.load.f32(<4 x i32> %tmp21, i32 632, i32 0)734  %tmp102 = call float @llvm.amdgcn.s.buffer.load.f32(<4 x i32> %tmp21, i32 636, i32 0)735  %tmp103 = call float @llvm.amdgcn.s.buffer.load.f32(<4 x i32> %tmp21, i32 640, i32 0)736  %tmp104 = call float @llvm.amdgcn.s.buffer.load.f32(<4 x i32> %tmp21, i32 644, i32 0)737  %tmp105 = call float @llvm.amdgcn.s.buffer.load.f32(<4 x i32> %tmp21, i32 648, i32 0)738  %tmp106 = call float @llvm.amdgcn.s.buffer.load.f32(<4 x i32> %tmp21, i32 652, i32 0)739  %tmp107 = call float @llvm.amdgcn.s.buffer.load.f32(<4 x i32> %tmp21, i32 656, i32 0)740  %tmp108 = call float @llvm.amdgcn.s.buffer.load.f32(<4 x i32> %tmp21, i32 660, i32 0)741  %tmp109 = call float @llvm.amdgcn.s.buffer.load.f32(<4 x i32> %tmp21, i32 664, i32 0)742  %tmp110 = call float @llvm.amdgcn.s.buffer.load.f32(<4 x i32> %tmp21, i32 668, i32 0)743  %tmp111 = call float @llvm.amdgcn.s.buffer.load.f32(<4 x i32> %tmp21, i32 672, i32 0)744  %tmp112 = call float @llvm.amdgcn.s.buffer.load.f32(<4 x i32> %tmp21, i32 676, i32 0)745  %tmp113 = call float @llvm.amdgcn.s.buffer.load.f32(<4 x i32> %tmp21, i32 680, i32 0)746  %tmp114 = call float @llvm.amdgcn.s.buffer.load.f32(<4 x i32> %tmp21, i32 684, i32 0)747  %tmp115 = call float @llvm.amdgcn.s.buffer.load.f32(<4 x i32> %tmp21, i32 688, i32 0)748  %tmp116 = call float @llvm.amdgcn.s.buffer.load.f32(<4 x i32> %tmp21, i32 692, i32 0)749  %tmp117 = call float @llvm.amdgcn.s.buffer.load.f32(<4 x i32> %tmp21, i32 696, i32 0)750  %tmp118 = call float @llvm.amdgcn.s.buffer.load.f32(<4 x i32> %tmp21, i32 700, i32 0)751  %tmp119 = call float @llvm.amdgcn.s.buffer.load.f32(<4 x i32> %tmp21, i32 704, i32 0)752  %tmp120 = call float @llvm.amdgcn.s.buffer.load.f32(<4 x i32> %tmp21, i32 708, i32 0)753  %tmp121 = call float @llvm.amdgcn.s.buffer.load.f32(<4 x i32> %tmp21, i32 712, i32 0)754  %tmp122 = call float @llvm.amdgcn.s.buffer.load.f32(<4 x i32> %tmp21, i32 716, i32 0)755  %tmp123 = call float @llvm.amdgcn.s.buffer.load.f32(<4 x i32> %tmp21, i32 864, i32 0)756  %tmp124 = call float @llvm.amdgcn.s.buffer.load.f32(<4 x i32> %tmp21, i32 868, i32 0)757  %tmp126 = load <8 x i32>, ptr addrspace(4) %arg2, !tbaa !0758  %tmp128 = load <4 x i32>, ptr addrspace(4) %arg1, !tbaa !0759  %tmp129 = getelementptr [16 x <8 x i32>], ptr addrspace(4) %arg2, i64 0, i32 1760  %tmp130 = load <8 x i32>, ptr addrspace(4) %tmp129, !tbaa !0761  %tmp131 = getelementptr [32 x <4 x i32>], ptr addrspace(4) %arg1, i64 0, i32 1762  %tmp132 = load <4 x i32>, ptr addrspace(4) %tmp131, !tbaa !0763  %tmp133 = getelementptr [16 x <8 x i32>], ptr addrspace(4) %arg2, i64 0, i32 2764  %tmp134 = load <8 x i32>, ptr addrspace(4) %tmp133, !tbaa !0765  %tmp135 = getelementptr [32 x <4 x i32>], ptr addrspace(4) %arg1, i64 0, i32 2766  %tmp136 = load <4 x i32>, ptr addrspace(4) %tmp135, !tbaa !0767  %tmp137 = getelementptr [16 x <8 x i32>], ptr addrspace(4) %arg2, i64 0, i32 3768  %tmp138 = load <8 x i32>, ptr addrspace(4) %tmp137, !tbaa !0769  %tmp139 = getelementptr [32 x <4 x i32>], ptr addrspace(4) %arg1, i64 0, i32 3770  %tmp140 = load <4 x i32>, ptr addrspace(4) %tmp139, !tbaa !0771  %tmp141 = getelementptr [16 x <8 x i32>], ptr addrspace(4) %arg2, i64 0, i32 4772  %tmp142 = load <8 x i32>, ptr addrspace(4) %tmp141, !tbaa !0773  %tmp143 = getelementptr [32 x <4 x i32>], ptr addrspace(4) %arg1, i64 0, i32 4774  %tmp144 = load <4 x i32>, ptr addrspace(4) %tmp143, !tbaa !0775  %tmp145 = getelementptr [16 x <8 x i32>], ptr addrspace(4) %arg2, i64 0, i32 5776  %tmp146 = load <8 x i32>, ptr addrspace(4) %tmp145, !tbaa !0777  %tmp147 = getelementptr [32 x <4 x i32>], ptr addrspace(4) %arg1, i64 0, i32 5778  %tmp148 = load <4 x i32>, ptr addrspace(4) %tmp147, !tbaa !0779  %tmp149 = getelementptr [16 x <8 x i32>], ptr addrspace(4) %arg2, i64 0, i32 6780  %tmp150 = load <8 x i32>, ptr addrspace(4) %tmp149, !tbaa !0781  %tmp151 = getelementptr [32 x <4 x i32>], ptr addrspace(4) %arg1, i64 0, i32 6782  %tmp152 = load <4 x i32>, ptr addrspace(4) %tmp151, !tbaa !0783  %tmp153 = getelementptr [16 x <8 x i32>], ptr addrspace(4) %arg2, i64 0, i32 7784  %tmp154 = load <8 x i32>, ptr addrspace(4) %tmp153, !tbaa !0785  %tmp155 = getelementptr [32 x <4 x i32>], ptr addrspace(4) %arg1, i64 0, i32 7786  %tmp156 = load <4 x i32>, ptr addrspace(4) %tmp155, !tbaa !0787  %tmp157 = getelementptr [16 x <8 x i32>], ptr addrspace(4) %arg2, i64 0, i32 8788  %tmp158 = load <8 x i32>, ptr addrspace(4) %tmp157, !tbaa !0789  %tmp159 = getelementptr [32 x <4 x i32>], ptr addrspace(4) %arg1, i64 0, i32 8790  %tmp160 = load <4 x i32>, ptr addrspace(4) %tmp159, !tbaa !0791  %tmp161 = fcmp ugt float %arg17, 0.000000e+00792  %tmp162 = select i1 %tmp161, float 1.000000e+00, float 0.000000e+00793  %i.i = extractelement <2 x i32> %arg6, i32 0794  %j.i = extractelement <2 x i32> %arg6, i32 1795  %i.f.i = bitcast i32 %i.i to float796  %j.f.i = bitcast i32 %j.i to float797  %p1.i = call float @llvm.amdgcn.interp.p1(float %i.f.i, i32 0, i32 0, i32 %arg4) #0798  %p2.i = call float @llvm.amdgcn.interp.p2(float %p1.i, float %j.f.i, i32 0, i32 0, i32 %arg4) #0799  %i.i181 = extractelement <2 x i32> %arg6, i32 0800  %j.i182 = extractelement <2 x i32> %arg6, i32 1801  %i.f.i183 = bitcast i32 %i.i181 to float802  %j.f.i184 = bitcast i32 %j.i182 to float803  %p1.i185 = call float @llvm.amdgcn.interp.p1(float %i.f.i183, i32 1, i32 0, i32 %arg4) #0804  %p2.i186 = call float @llvm.amdgcn.interp.p2(float %p1.i185, float %j.f.i184, i32 1, i32 0, i32 %arg4) #0805  %i.i175 = extractelement <2 x i32> %arg6, i32 0806  %j.i176 = extractelement <2 x i32> %arg6, i32 1807  %i.f.i177 = bitcast i32 %i.i175 to float808  %j.f.i178 = bitcast i32 %j.i176 to float809  %p1.i179 = call float @llvm.amdgcn.interp.p1(float %i.f.i177, i32 2, i32 0, i32 %arg4) #0810  %p2.i180 = call float @llvm.amdgcn.interp.p2(float %p1.i179, float %j.f.i178, i32 2, i32 0, i32 %arg4) #0811  %i.i169 = extractelement <2 x i32> %arg6, i32 0812  %j.i170 = extractelement <2 x i32> %arg6, i32 1813  %i.f.i171 = bitcast i32 %i.i169 to float814  %j.f.i172 = bitcast i32 %j.i170 to float815  %p1.i173 = call float @llvm.amdgcn.interp.p1(float %i.f.i171, i32 3, i32 0, i32 %arg4) #0816  %p2.i174 = call float @llvm.amdgcn.interp.p2(float %p1.i173, float %j.f.i172, i32 3, i32 0, i32 %arg4) #0817  %i.i163 = extractelement <2 x i32> %arg6, i32 0818  %j.i164 = extractelement <2 x i32> %arg6, i32 1819  %i.f.i165 = bitcast i32 %i.i163 to float820  %j.f.i166 = bitcast i32 %j.i164 to float821  %p1.i167 = call float @llvm.amdgcn.interp.p1(float %i.f.i165, i32 0, i32 1, i32 %arg4) #0822  %p2.i168 = call float @llvm.amdgcn.interp.p2(float %p1.i167, float %j.f.i166, i32 0, i32 1, i32 %arg4) #0823  %i.i157 = extractelement <2 x i32> %arg6, i32 0824  %j.i158 = extractelement <2 x i32> %arg6, i32 1825  %i.f.i159 = bitcast i32 %i.i157 to float826  %j.f.i160 = bitcast i32 %j.i158 to float827  %p1.i161 = call float @llvm.amdgcn.interp.p1(float %i.f.i159, i32 1, i32 1, i32 %arg4) #0828  %p2.i162 = call float @llvm.amdgcn.interp.p2(float %p1.i161, float %j.f.i160, i32 1, i32 1, i32 %arg4) #0829  %i.i151 = extractelement <2 x i32> %arg6, i32 0830  %j.i152 = extractelement <2 x i32> %arg6, i32 1831  %i.f.i153 = bitcast i32 %i.i151 to float832  %j.f.i154 = bitcast i32 %j.i152 to float833  %p1.i155 = call float @llvm.amdgcn.interp.p1(float %i.f.i153, i32 2, i32 1, i32 %arg4) #0834  %p2.i156 = call float @llvm.amdgcn.interp.p2(float %p1.i155, float %j.f.i154, i32 2, i32 1, i32 %arg4) #0835  %i.i145 = extractelement <2 x i32> %arg6, i32 0836  %j.i146 = extractelement <2 x i32> %arg6, i32 1837  %i.f.i147 = bitcast i32 %i.i145 to float838  %j.f.i148 = bitcast i32 %j.i146 to float839  %p1.i149 = call float @llvm.amdgcn.interp.p1(float %i.f.i147, i32 3, i32 1, i32 %arg4) #0840  %p2.i150 = call float @llvm.amdgcn.interp.p2(float %p1.i149, float %j.f.i148, i32 3, i32 1, i32 %arg4) #0841  %i.i139 = extractelement <2 x i32> %arg6, i32 0842  %j.i140 = extractelement <2 x i32> %arg6, i32 1843  %i.f.i141 = bitcast i32 %i.i139 to float844  %j.f.i142 = bitcast i32 %j.i140 to float845  %p1.i143 = call float @llvm.amdgcn.interp.p1(float %i.f.i141, i32 0, i32 2, i32 %arg4) #0846  %p2.i144 = call float @llvm.amdgcn.interp.p2(float %p1.i143, float %j.f.i142, i32 0, i32 2, i32 %arg4) #0847  %i.i133 = extractelement <2 x i32> %arg6, i32 0848  %j.i134 = extractelement <2 x i32> %arg6, i32 1849  %i.f.i135 = bitcast i32 %i.i133 to float850  %j.f.i136 = bitcast i32 %j.i134 to float851  %p1.i137 = call float @llvm.amdgcn.interp.p1(float %i.f.i135, i32 1, i32 2, i32 %arg4) #0852  %p2.i138 = call float @llvm.amdgcn.interp.p2(float %p1.i137, float %j.f.i136, i32 1, i32 2, i32 %arg4) #0853  %i.i127 = extractelement <2 x i32> %arg6, i32 0854  %j.i128 = extractelement <2 x i32> %arg6, i32 1855  %i.f.i129 = bitcast i32 %i.i127 to float856  %j.f.i130 = bitcast i32 %j.i128 to float857  %p1.i131 = call float @llvm.amdgcn.interp.p1(float %i.f.i129, i32 2, i32 2, i32 %arg4) #0858  %p2.i132 = call float @llvm.amdgcn.interp.p2(float %p1.i131, float %j.f.i130, i32 2, i32 2, i32 %arg4) #0859  %i.i121 = extractelement <2 x i32> %arg6, i32 0860  %j.i122 = extractelement <2 x i32> %arg6, i32 1861  %i.f.i123 = bitcast i32 %i.i121 to float862  %j.f.i124 = bitcast i32 %j.i122 to float863  %p1.i125 = call float @llvm.amdgcn.interp.p1(float %i.f.i123, i32 3, i32 2, i32 %arg4) #0864  %p2.i126 = call float @llvm.amdgcn.interp.p2(float %p1.i125, float %j.f.i124, i32 3, i32 2, i32 %arg4) #0865  %i.i115 = extractelement <2 x i32> %arg6, i32 0866  %j.i116 = extractelement <2 x i32> %arg6, i32 1867  %i.f.i117 = bitcast i32 %i.i115 to float868  %j.f.i118 = bitcast i32 %j.i116 to float869  %p1.i119 = call float @llvm.amdgcn.interp.p1(float %i.f.i117, i32 0, i32 3, i32 %arg4) #0870  %p2.i120 = call float @llvm.amdgcn.interp.p2(float %p1.i119, float %j.f.i118, i32 0, i32 3, i32 %arg4) #0871  %i.i109 = extractelement <2 x i32> %arg6, i32 0872  %j.i110 = extractelement <2 x i32> %arg6, i32 1873  %i.f.i111 = bitcast i32 %i.i109 to float874  %j.f.i112 = bitcast i32 %j.i110 to float875  %p1.i113 = call float @llvm.amdgcn.interp.p1(float %i.f.i111, i32 1, i32 3, i32 %arg4) #0876  %p2.i114 = call float @llvm.amdgcn.interp.p2(float %p1.i113, float %j.f.i112, i32 1, i32 3, i32 %arg4) #0877  %i.i103 = extractelement <2 x i32> %arg6, i32 0878  %j.i104 = extractelement <2 x i32> %arg6, i32 1879  %i.f.i105 = bitcast i32 %i.i103 to float880  %j.f.i106 = bitcast i32 %j.i104 to float881  %p1.i107 = call float @llvm.amdgcn.interp.p1(float %i.f.i105, i32 2, i32 3, i32 %arg4) #0882  %p2.i108 = call float @llvm.amdgcn.interp.p2(float %p1.i107, float %j.f.i106, i32 2, i32 3, i32 %arg4) #0883  %i.i97 = extractelement <2 x i32> %arg6, i32 0884  %j.i98 = extractelement <2 x i32> %arg6, i32 1885  %i.f.i99 = bitcast i32 %i.i97 to float886  %j.f.i100 = bitcast i32 %j.i98 to float887  %p1.i101 = call float @llvm.amdgcn.interp.p1(float %i.f.i99, i32 3, i32 3, i32 %arg4) #0888  %p2.i102 = call float @llvm.amdgcn.interp.p2(float %p1.i101, float %j.f.i100, i32 3, i32 3, i32 %arg4) #0889  %i.i91 = extractelement <2 x i32> %arg6, i32 0890  %j.i92 = extractelement <2 x i32> %arg6, i32 1891  %i.f.i93 = bitcast i32 %i.i91 to float892  %j.f.i94 = bitcast i32 %j.i92 to float893  %p1.i95 = call float @llvm.amdgcn.interp.p1(float %i.f.i93, i32 0, i32 4, i32 %arg4) #0894  %p2.i96 = call float @llvm.amdgcn.interp.p2(float %p1.i95, float %j.f.i94, i32 0, i32 4, i32 %arg4) #0895  %i.i85 = extractelement <2 x i32> %arg6, i32 0896  %j.i86 = extractelement <2 x i32> %arg6, i32 1897  %i.f.i87 = bitcast i32 %i.i85 to float898  %j.f.i88 = bitcast i32 %j.i86 to float899  %p1.i89 = call float @llvm.amdgcn.interp.p1(float %i.f.i87, i32 1, i32 4, i32 %arg4) #0900  %p2.i90 = call float @llvm.amdgcn.interp.p2(float %p1.i89, float %j.f.i88, i32 1, i32 4, i32 %arg4) #0901  %i.i79 = extractelement <2 x i32> %arg6, i32 0902  %j.i80 = extractelement <2 x i32> %arg6, i32 1903  %i.f.i81 = bitcast i32 %i.i79 to float904  %j.f.i82 = bitcast i32 %j.i80 to float905  %p1.i83 = call float @llvm.amdgcn.interp.p1(float %i.f.i81, i32 2, i32 4, i32 %arg4) #0906  %p2.i84 = call float @llvm.amdgcn.interp.p2(float %p1.i83, float %j.f.i82, i32 2, i32 4, i32 %arg4) #0907  %i.i73 = extractelement <2 x i32> %arg6, i32 0908  %j.i74 = extractelement <2 x i32> %arg6, i32 1909  %i.f.i75 = bitcast i32 %i.i73 to float910  %j.f.i76 = bitcast i32 %j.i74 to float911  %p1.i77 = call float @llvm.amdgcn.interp.p1(float %i.f.i75, i32 3, i32 4, i32 %arg4) #0912  %p2.i78 = call float @llvm.amdgcn.interp.p2(float %p1.i77, float %j.f.i76, i32 3, i32 4, i32 %arg4) #0913  %i.i67 = extractelement <2 x i32> %arg6, i32 0914  %j.i68 = extractelement <2 x i32> %arg6, i32 1915  %i.f.i69 = bitcast i32 %i.i67 to float916  %j.f.i70 = bitcast i32 %j.i68 to float917  %p1.i71 = call float @llvm.amdgcn.interp.p1(float %i.f.i69, i32 0, i32 5, i32 %arg4) #0918  %p2.i72 = call float @llvm.amdgcn.interp.p2(float %p1.i71, float %j.f.i70, i32 0, i32 5, i32 %arg4) #0919  %i.i61 = extractelement <2 x i32> %arg6, i32 0920  %j.i62 = extractelement <2 x i32> %arg6, i32 1921  %i.f.i63 = bitcast i32 %i.i61 to float922  %j.f.i64 = bitcast i32 %j.i62 to float923  %p1.i65 = call float @llvm.amdgcn.interp.p1(float %i.f.i63, i32 1, i32 5, i32 %arg4) #0924  %p2.i66 = call float @llvm.amdgcn.interp.p2(float %p1.i65, float %j.f.i64, i32 1, i32 5, i32 %arg4) #0925  %i.i55 = extractelement <2 x i32> %arg6, i32 0926  %j.i56 = extractelement <2 x i32> %arg6, i32 1927  %i.f.i57 = bitcast i32 %i.i55 to float928  %j.f.i58 = bitcast i32 %j.i56 to float929  %p1.i59 = call float @llvm.amdgcn.interp.p1(float %i.f.i57, i32 2, i32 5, i32 %arg4) #0930  %p2.i60 = call float @llvm.amdgcn.interp.p2(float %p1.i59, float %j.f.i58, i32 2, i32 5, i32 %arg4) #0931  %i.i49 = extractelement <2 x i32> %arg6, i32 0932  %j.i50 = extractelement <2 x i32> %arg6, i32 1933  %i.f.i51 = bitcast i32 %i.i49 to float934  %j.f.i52 = bitcast i32 %j.i50 to float935  %p1.i53 = call float @llvm.amdgcn.interp.p1(float %i.f.i51, i32 3, i32 5, i32 %arg4) #0936  %p2.i54 = call float @llvm.amdgcn.interp.p2(float %p1.i53, float %j.f.i52, i32 3, i32 5, i32 %arg4) #0937  %i.i43 = extractelement <2 x i32> %arg6, i32 0938  %j.i44 = extractelement <2 x i32> %arg6, i32 1939  %i.f.i45 = bitcast i32 %i.i43 to float940  %j.f.i46 = bitcast i32 %j.i44 to float941  %p1.i47 = call float @llvm.amdgcn.interp.p1(float %i.f.i45, i32 0, i32 6, i32 %arg4) #0942  %p2.i48 = call float @llvm.amdgcn.interp.p2(float %p1.i47, float %j.f.i46, i32 0, i32 6, i32 %arg4) #0943  %i.i37 = extractelement <2 x i32> %arg6, i32 0944  %j.i38 = extractelement <2 x i32> %arg6, i32 1945  %i.f.i39 = bitcast i32 %i.i37 to float946  %j.f.i40 = bitcast i32 %j.i38 to float947  %p1.i41 = call float @llvm.amdgcn.interp.p1(float %i.f.i39, i32 1, i32 6, i32 %arg4) #0948  %p2.i42 = call float @llvm.amdgcn.interp.p2(float %p1.i41, float %j.f.i40, i32 1, i32 6, i32 %arg4) #0949  %i.i31 = extractelement <2 x i32> %arg6, i32 0950  %j.i32 = extractelement <2 x i32> %arg6, i32 1951  %i.f.i33 = bitcast i32 %i.i31 to float952  %j.f.i34 = bitcast i32 %j.i32 to float953  %p1.i35 = call float @llvm.amdgcn.interp.p1(float %i.f.i33, i32 2, i32 6, i32 %arg4) #0954  %p2.i36 = call float @llvm.amdgcn.interp.p2(float %p1.i35, float %j.f.i34, i32 2, i32 6, i32 %arg4) #0955  %i.i25 = extractelement <2 x i32> %arg6, i32 0956  %j.i26 = extractelement <2 x i32> %arg6, i32 1957  %i.f.i27 = bitcast i32 %i.i25 to float958  %j.f.i28 = bitcast i32 %j.i26 to float959  %p1.i29 = call float @llvm.amdgcn.interp.p1(float %i.f.i27, i32 3, i32 6, i32 %arg4) #0960  %p2.i30 = call float @llvm.amdgcn.interp.p2(float %p1.i29, float %j.f.i28, i32 3, i32 6, i32 %arg4) #0961  %i.i19 = extractelement <2 x i32> %arg6, i32 0962  %j.i20 = extractelement <2 x i32> %arg6, i32 1963  %i.f.i21 = bitcast i32 %i.i19 to float964  %j.f.i22 = bitcast i32 %j.i20 to float965  %p1.i23 = call float @llvm.amdgcn.interp.p1(float %i.f.i21, i32 0, i32 7, i32 %arg4) #0966  %p2.i24 = call float @llvm.amdgcn.interp.p2(float %p1.i23, float %j.f.i22, i32 0, i32 7, i32 %arg4) #0967  %i.i13 = extractelement <2 x i32> %arg6, i32 0968  %j.i14 = extractelement <2 x i32> %arg6, i32 1969  %i.f.i15 = bitcast i32 %i.i13 to float970  %j.f.i16 = bitcast i32 %j.i14 to float971  %p1.i17 = call float @llvm.amdgcn.interp.p1(float %i.f.i15, i32 1, i32 7, i32 %arg4) #0972  %p2.i18 = call float @llvm.amdgcn.interp.p2(float %p1.i17, float %j.f.i16, i32 1, i32 7, i32 %arg4) #0973  %i.i7 = extractelement <2 x i32> %arg6, i32 0974  %j.i8 = extractelement <2 x i32> %arg6, i32 1975  %i.f.i9 = bitcast i32 %i.i7 to float976  %j.f.i10 = bitcast i32 %j.i8 to float977  %p1.i11 = call float @llvm.amdgcn.interp.p1(float %i.f.i9, i32 2, i32 7, i32 %arg4) #0978  %p2.i12 = call float @llvm.amdgcn.interp.p2(float %p1.i11, float %j.f.i10, i32 2, i32 7, i32 %arg4) #0979  %i.i1 = extractelement <2 x i32> %arg6, i32 0980  %j.i2 = extractelement <2 x i32> %arg6, i32 1981  %i.f.i3 = bitcast i32 %i.i1 to float982  %j.f.i4 = bitcast i32 %j.i2 to float983  %p1.i5 = call float @llvm.amdgcn.interp.p1(float %i.f.i3, i32 3, i32 7, i32 %arg4) #0984  %p2.i6 = call float @llvm.amdgcn.interp.p2(float %p1.i5, float %j.f.i4, i32 3, i32 7, i32 %arg4) #0985  %tmp195 = fmul float %arg14, %tmp123986  %tmp196 = fadd float %tmp195, %tmp124987  %max.0.i = call float @llvm.maxnum.f32(float %tmp162, float 0.000000e+00)988  %clamp.i = call float @llvm.minnum.f32(float %max.0.i, float 1.000000e+00)989  %tmp201 = bitcast float %clamp.i to i32990  %tmp202 = icmp ne i32 %tmp201, 0991  %. = select i1 %tmp202, float -1.000000e+00, float 1.000000e+00992  %tmp203 = fsub float -0.000000e+00, %p2.i993  %tmp204 = fadd float %tmp43, %tmp203994  %tmp205 = fsub float -0.000000e+00, %p2.i186995  %tmp206 = fadd float %tmp44, %tmp205996  %tmp207 = fsub float -0.000000e+00, %p2.i180997  %tmp208 = fadd float %tmp45, %tmp207998  %tmp209 = fmul float %tmp204, %tmp204999  %tmp210 = fmul float %tmp206, %tmp2061000  %tmp211 = fadd float %tmp210, %tmp2091001  %tmp212 = fmul float %tmp208, %tmp2081002  %tmp213 = fadd float %tmp211, %tmp2121003  %tmp214 = call float @llvm.amdgcn.rsq.f32(float %tmp213)1004  %tmp215 = fmul float %tmp204, %tmp2141005  %tmp216 = fmul float %tmp206, %tmp2141006  %tmp217 = fmul float %tmp208, %tmp2141007  %tmp218 = fmul float %., %tmp531008  %tmp219 = fmul float %arg13, %tmp461009  %tmp220 = fmul float %tmp196, %tmp471010  %tmp132.bc = bitcast <4 x i32> %tmp132 to <4 x i32>1011  %tmp225 = call <4 x float> @llvm.amdgcn.image.sample.2d.v4f32.f32(i32 15, float %p2.i132, float %p2.i126, <8 x i32> %tmp130, <4 x i32> %tmp132.bc, i1 0, i32 0, i32 0)1012  %tmp226 = extractelement <4 x float> %tmp225, i32 01013  %tmp227 = extractelement <4 x float> %tmp225, i32 11014  %tmp228 = extractelement <4 x float> %tmp225, i32 21015  %tmp229 = extractelement <4 x float> %tmp225, i32 31016  %tmp230 = fmul float %tmp226, 0x40126111800000001017  %tmp231 = fmul float %tmp227, 0x40126111800000001018  %tmp232 = fmul float %tmp228, 0x40126111800000001019  %one.sub.a.i = fsub float 1.000000e+00, %tmp261020  %result.i = fadd float %tmp230, %one.sub.a.i1021  %one.sub.a.i43 = fsub float 1.000000e+00, %tmp261022  %result.i44 = fadd float %tmp231, %one.sub.a.i431023  %one.sub.a.i41 = fsub float 1.000000e+00, %tmp261024  %result.i42 = fadd float %tmp232, %one.sub.a.i411025  %tmp233 = fmul float %tmp215, %p2.i721026  %tmp234 = fmul float %tmp216, %p2.i661027  %tmp235 = fadd float %tmp234, %tmp2331028  %tmp236 = fmul float %tmp217, %p2.i601029  %tmp237 = fadd float %tmp235, %tmp2361030  %tmp238 = fmul float %tmp215, %p2.i541031  %tmp239 = fmul float %tmp216, %p2.i481032  %tmp240 = fadd float %tmp239, %tmp2381033  %tmp241 = fmul float %tmp217, %p2.i421034  %tmp242 = fadd float %tmp240, %tmp2411035  %tmp243 = fmul float %tmp215, %p2.i361036  %tmp244 = fmul float %tmp216, %p2.i301037  %tmp245 = fadd float %tmp244, %tmp2431038  %tmp246 = fmul float %tmp217, %p2.i241039  %tmp247 = fadd float %tmp245, %tmp2461040  %max.0.i19 = call float @llvm.maxnum.f32(float %tmp247, float 0.000000e+00)1041  %clamp.i20 = call float @llvm.minnum.f32(float %max.0.i19, float 1.000000e+00)1042  %tmp249 = fmul float %tmp213, 0x3F5A36E2E00000001043  %max.0.i17 = call float @llvm.maxnum.f32(float %tmp249, float 0.000000e+00)1044  %clamp.i18 = call float @llvm.minnum.f32(float %max.0.i17, float 1.000000e+00)1045  %tmp251 = fsub float -0.000000e+00, %clamp.i181046  %tmp252 = fadd float 1.000000e+00, %tmp2511047  %tmp253 = call float @llvm.pow.f32(float %clamp.i20, float 2.500000e-01)1048  %tmp254 = fmul float %tmp38, %tmp2531049  %tmp255 = fmul float %tmp237, %tmp2541050  %tmp256 = fmul float %tmp242, %tmp2541051  %tmp257 = fmul float %tmp255, %tmp2291052  %tmp258 = fmul float %tmp256, %tmp2291053  %tmp259 = fadd float %clamp.i20, 0x3EE4F8B5800000001054  %tmp260 = fsub float -0.000000e+00, %clamp.i201055  %tmp261 = fadd float 1.000000e+00, %tmp2601056  %tmp262 = fmul float 1.200000e+01, %tmp2611057  %tmp263 = fadd float %tmp262, 4.000000e+001058  %tmp264 = fsub float -0.000000e+00, %tmp2631059  %tmp265 = fmul float %tmp264, %tmp2591060  %tmp266 = fsub float -0.000000e+00, %tmp2631061  %tmp267 = fmul float %tmp266, %tmp2591062  %tmp268 = fsub float -0.000000e+00, %tmp2631063  %tmp269 = fmul float %tmp268, %tmp2591064  %tmp270 = fdiv float 1.000000e+00, %tmp2651065  %tmp271 = fdiv float 1.000000e+00, %tmp2671066  %tmp272 = fdiv float 1.000000e+00, %tmp2691067  %tmp273 = fmul float %tmp257, %tmp2701068  %tmp274 = fmul float %tmp258, %tmp2711069  %tmp275 = fmul float %tmp259, %tmp2721070  br label %LOOP1071 1072LOOP:                                             ; preds = %LOOP, %main_body1073  %temp144.0 = phi float [ 1.000000e+00, %main_body ], [ %tmp288, %LOOP ]1074  %temp168.0 = phi float [ %p2.i120, %main_body ], [ %tmp284, %LOOP ]1075  %temp169.0 = phi float [ %p2.i114, %main_body ], [ %tmp285, %LOOP ]1076  %temp170.0 = phi float [ %tmp252, %main_body ], [ %tmp286, %LOOP ]1077  %tmp276 = bitcast float %temp168.0 to i321078  %tmp277 = bitcast float %temp169.0 to i321079  %tmp278 = insertelement <4 x i32> poison, i32 %tmp276, i32 01080  %tmp279 = insertelement <4 x i32> %tmp278, i32 %tmp277, i32 11081  %tmp280 = insertelement <4 x i32> %tmp279, i32 0, i32 21082  %tmp281 = insertelement <4 x i32> %tmp280, i32 poison, i32 31083  %tmp148.bc = bitcast <4 x i32> %tmp148 to <4 x i32>1084  %tmp281.bc = bitcast <4 x i32> %tmp281 to <4 x float>1085  %tmp282 = call <4 x float> @llvm.amdgcn.image.sample.l.2d.v4f32.f32(i32 15, float %temp168.0, float %temp169.0, float 0.0, <8 x i32> %tmp146, <4 x i32> %tmp148.bc, i1 0, i32 0, i32 0)1086  %tmp283 = extractelement <4 x float> %tmp282, i32 31087  %tmp284 = fadd float %temp168.0, %tmp2731088  %tmp285 = fadd float %temp169.0, %tmp2741089  %tmp286 = fadd float %temp170.0, %tmp2751090  %tmp287 = fsub float -0.000000e+00, %tmp2831091  %tmp288 = fadd float %tmp286, %tmp2871092  %tmp289 = fcmp oge float 0.000000e+00, %tmp2881093  %tmp290 = sext i1 %tmp289 to i321094  %tmp291 = bitcast i32 %tmp290 to float1095  %tmp292 = bitcast float %tmp291 to i321096  %tmp293 = icmp ne i32 %tmp292, 01097  br i1 %tmp293, label %IF189, label %LOOP1098 1099IF189:                                            ; preds = %LOOP1100  %tmp294 = extractelement <4 x float> %tmp282, i32 01101  %tmp295 = extractelement <4 x float> %tmp282, i32 11102  %tmp296 = extractelement <4 x float> %tmp282, i32 21103  %tmp297 = fsub float -0.000000e+00, %tmp2881104  %tmp298 = fadd float %temp144.0, %tmp2971105  %tmp299 = fdiv float 1.000000e+00, %tmp2981106  %tmp300 = fmul float %tmp288, %tmp2991107  %tmp301 = fadd float %tmp300, -1.000000e+001108  %tmp302 = fmul float %tmp301, %tmp2731109  %tmp303 = fadd float %tmp302, %tmp2841110  %tmp304 = fmul float %tmp301, %tmp2741111  %tmp305 = fadd float %tmp304, %tmp2851112  %tmp306 = fsub float -0.000000e+00, %p2.i1201113  %tmp307 = fadd float %tmp303, %tmp3061114  %tmp308 = fsub float -0.000000e+00, %p2.i1141115  %tmp309 = fadd float %tmp305, %tmp3081116  %tmp310 = fadd float %p2.i120, %tmp3071117  %tmp311 = fadd float %p2.i114, %tmp3091118  %tmp312 = fmul float %tmp307, %tmp661119  %tmp313 = fmul float %tmp309, %tmp671120  %tmp314 = fmul float %tmp312, %tmp541121  %tmp315 = fmul float %tmp312, %tmp551122  %tmp316 = fmul float %tmp313, %tmp561123  %tmp317 = fadd float %tmp316, %tmp3141124  %tmp318 = fmul float %tmp313, %tmp571125  %tmp319 = fadd float %tmp318, %tmp3151126  %tmp320 = fadd float %p2.i108, %tmp3171127  %tmp321 = fadd float %p2.i102, %tmp3191128  %tmp322 = fmul float %tmp312, %tmp581129  %tmp323 = fmul float %tmp312, %tmp591130  %tmp324 = fmul float %tmp312, %tmp601131  %tmp325 = fmul float %tmp312, %tmp611132  %tmp326 = fmul float %tmp313, %tmp621133  %tmp327 = fadd float %tmp326, %tmp3221134  %tmp328 = fmul float %tmp313, %tmp631135  %tmp329 = fadd float %tmp328, %tmp3231136  %tmp330 = fmul float %tmp313, %tmp641137  %tmp331 = fadd float %tmp330, %tmp3241138  %tmp332 = fmul float %tmp313, %tmp651139  %tmp333 = fadd float %tmp332, %tmp3251140  %tmp334 = fadd float %p2.i168, %tmp3271141  %tmp335 = fadd float %p2.i162, %tmp3291142  %tmp336 = fadd float %p2.i156, %tmp3311143  %tmp337 = fadd float %p2.i150, %tmp3331144  %tmp136.bc = bitcast <4 x i32> %tmp136 to <4 x i32>1145  %tmp0 = call <4 x float> @llvm.amdgcn.image.sample.2d.v4f32.f32(i32 15, float %tmp334, float %tmp335, <8 x i32> %tmp134, <4 x i32> %tmp136.bc, i1 0, i32 0, i32 0)1146  %tmp343 = extractelement <4 x float> %tmp0, i32 01147  %tmp344 = extractelement <4 x float> %tmp0, i32 11148  %tmp345 = extractelement <4 x float> %tmp0, i32 21149  %tmp346 = extractelement <4 x float> %tmp0, i32 31150  %tmp347 = fmul float %tmp343, %tmp221151  %tmp348 = fmul float %tmp344, %tmp231152  %tmp349 = fmul float %tmp345, %tmp241153  %tmp350 = fmul float %tmp346, %tmp251154  %tmp351 = fmul float %tmp347, %p2.i961155  %tmp352 = fmul float %tmp348, %p2.i901156  %tmp353 = fmul float %tmp349, %p2.i841157  %tmp354 = fmul float %tmp350, %p2.i781158  %tmp355 = fsub float -0.000000e+00, %tmp3461159  %tmp356 = fadd float 1.000000e+00, %tmp3551160  %tmp357 = fmul float %tmp356, %tmp481161  %one.sub.a.i37 = fsub float 1.000000e+00, %tmp3571162  %one.sub.ac.i38 = fmul float %one.sub.a.i37, %tmp3511163  %mul.i39 = fmul float %tmp343, %tmp3511164  %result.i40 = fadd float %mul.i39, %one.sub.ac.i381165  %one.sub.a.i33 = fsub float 1.000000e+00, %tmp3571166  %one.sub.ac.i34 = fmul float %one.sub.a.i33, %tmp3521167  %mul.i35 = fmul float %tmp344, %tmp3521168  %result.i36 = fadd float %mul.i35, %one.sub.ac.i341169  %one.sub.a.i29 = fsub float 1.000000e+00, %tmp3571170  %one.sub.ac.i30 = fmul float %one.sub.a.i29, %tmp3531171  %mul.i31 = fmul float %tmp345, %tmp3531172  %result.i32 = fadd float %mul.i31, %one.sub.ac.i301173  %tmp152.bc = bitcast <4 x i32> %tmp152 to <4 x i32>1174  %tmp1 = call <4 x float> @llvm.amdgcn.image.sample.2d.v4f32.f32(i32 15, float %tmp336, float %tmp337, <8 x i32> %tmp150, <4 x i32> %tmp152.bc, i1 0, i32 0, i32 0)1175  %tmp363 = extractelement <4 x float> %tmp1, i32 21176  %tmp364 = fmul float %result.i40, %result.i1177  %tmp365 = fmul float %result.i36, %result.i441178  %tmp366 = fmul float %result.i32, %result.i421179  %tmp367 = fmul float %tmp354, %tmp2291180  %tmp140.bc = bitcast <4 x i32> %tmp140 to <4 x i32>1181  %tmp2 = call <4 x float> @llvm.amdgcn.image.sample.2d.v4f32.f32(i32 15, float %tmp310, float %tmp311, <8 x i32> %tmp138, <4 x i32> %tmp140.bc, i1 0, i32 0, i32 0)1182  %tmp373 = extractelement <4 x float> %tmp2, i32 01183  %tmp374 = extractelement <4 x float> %tmp2, i32 11184  %tmp375 = extractelement <4 x float> %tmp2, i32 21185  %tmp376 = extractelement <4 x float> %tmp2, i32 31186  %tmp377 = fcmp olt float 0.000000e+00, %tmp3751187  %tmp378 = sext i1 %tmp377 to i321188  %tmp379 = bitcast i32 %tmp378 to float1189  %tmp380 = bitcast float %tmp379 to i321190  %tmp381 = icmp ne i32 %tmp380, 01191  %.224 = select i1 %tmp381, float %tmp374, float %tmp3731192  %.225 = select i1 %tmp381, float %tmp376, float %tmp3741193  %tmp144.bc = bitcast <4 x i32> %tmp144 to <4 x i32>1194  %tmp3 = call <4 x float> @llvm.amdgcn.image.sample.2d.v4f32.f32(i32 15, float %tmp320, float %tmp321, <8 x i32> %tmp142, <4 x i32> %tmp144.bc, i1 0, i32 0, i32 0)1195  %tmp387 = extractelement <4 x float> %tmp3, i32 01196  %tmp388 = extractelement <4 x float> %tmp3, i32 11197  %tmp389 = extractelement <4 x float> %tmp3, i32 21198  %tmp390 = extractelement <4 x float> %tmp3, i32 31199  %tmp391 = fcmp olt float 0.000000e+00, %tmp3891200  %tmp392 = sext i1 %tmp391 to i321201  %tmp393 = bitcast i32 %tmp392 to float1202  %tmp394 = bitcast float %tmp393 to i321203  %tmp395 = icmp ne i32 %tmp394, 01204  %temp112.1 = select i1 %tmp395, float %tmp388, float %tmp3871205  %temp113.1 = select i1 %tmp395, float %tmp390, float %tmp3881206  %tmp396 = fmul float %.224, 2.000000e+001207  %tmp397 = fadd float %tmp396, -1.000000e+001208  %tmp398 = fmul float %.225, 2.000000e+001209  %tmp399 = fadd float %tmp398, -1.000000e+001210  %tmp400 = fmul float %temp112.1, 2.000000e+001211  %tmp401 = fadd float %tmp400, -1.000000e+001212  %tmp402 = fmul float %temp113.1, 2.000000e+001213  %tmp403 = fadd float %tmp402, -1.000000e+001214  %tmp404 = fsub float -0.000000e+00, %tmp3971215  %tmp405 = fmul float %tmp404, %tmp341216  %tmp406 = fsub float -0.000000e+00, %tmp3991217  %tmp407 = fmul float %tmp406, %tmp341218  %tmp408 = fsub float -0.000000e+00, %tmp4011219  %tmp409 = fmul float %tmp408, %tmp351220  %tmp410 = fsub float -0.000000e+00, %tmp4031221  %tmp411 = fmul float %tmp410, %tmp351222  %tmp412 = fmul float %tmp409, %tmp3631223  %tmp413 = fmul float %tmp411, %tmp3631224  %tmp414 = call float @llvm.fabs.f32(float %tmp405)1225  %tmp415 = call float @llvm.fabs.f32(float %tmp407)1226  %tmp416 = fsub float -0.000000e+00, %tmp4141227  %tmp417 = fadd float 1.000000e+00, %tmp4161228  %tmp418 = fsub float -0.000000e+00, %tmp4151229  %tmp419 = fadd float 1.000000e+00, %tmp4181230  %tmp420 = fmul float %tmp417, %tmp4121231  %tmp421 = fadd float %tmp420, %tmp4051232  %tmp422 = fmul float %tmp419, %tmp4131233  %tmp423 = fadd float %tmp422, %tmp4071234  %tmp424 = fmul float %tmp421, %tmp4211235  %tmp425 = fmul float %tmp423, %tmp4231236  %tmp426 = fadd float %tmp424, %tmp4251237  %tmp427 = fsub float -0.000000e+00, %tmp4261238  %tmp428 = fadd float 0x3FF00068E0000000, %tmp4271239  %max.0.i15 = call float @llvm.maxnum.f32(float %tmp428, float 0.000000e+00)1240  %clamp.i16 = call float @llvm.minnum.f32(float %max.0.i15, float 1.000000e+00)1241  %tmp430 = call float @llvm.amdgcn.rsq.f32(float %clamp.i16)1242  %tmp431 = fmul float %tmp430, %clamp.i161243  %tmp432 = fsub float -0.000000e+00, %clamp.i161244  %cmp = fcmp ogt float 0.000000e+00, %tmp4321245  %tmp433 = select i1 %cmp, float %tmp431, float 0.000000e+001246  %tmp434 = fmul float %p2.i72, %tmp4211247  %tmp435 = fmul float %p2.i66, %tmp4211248  %tmp436 = fmul float %p2.i60, %tmp4211249  %tmp437 = fmul float %p2.i54, %tmp4231250  %tmp438 = fadd float %tmp437, %tmp4341251  %tmp439 = fmul float %p2.i48, %tmp4231252  %tmp440 = fadd float %tmp439, %tmp4351253  %tmp441 = fmul float %p2.i42, %tmp4231254  %tmp442 = fadd float %tmp441, %tmp4361255  %tmp443 = fmul float %p2.i36, %tmp4331256  %tmp444 = fadd float %tmp443, %tmp4381257  %tmp445 = fmul float %p2.i30, %tmp4331258  %tmp446 = fadd float %tmp445, %tmp4401259  %tmp447 = fmul float %p2.i24, %tmp4331260  %tmp448 = fadd float %tmp447, %tmp4421261  %tmp449 = fmul float %tmp444, %tmp4441262  %tmp450 = fmul float %tmp446, %tmp4461263  %tmp451 = fadd float %tmp450, %tmp4491264  %tmp452 = fmul float %tmp448, %tmp4481265  %tmp453 = fadd float %tmp451, %tmp4521266  %tmp454 = call float @llvm.amdgcn.rsq.f32(float %tmp453)1267  %tmp455 = fmul float %tmp444, %tmp4541268  %tmp456 = fmul float %tmp446, %tmp4541269  %tmp457 = fmul float %tmp448, %tmp4541270  %tmp458 = fcmp olt float 0.000000e+00, %tmp2181271  %tmp459 = sext i1 %tmp458 to i321272  %tmp460 = bitcast i32 %tmp459 to float1273  %tmp461 = bitcast float %tmp460 to i321274  %tmp462 = icmp ne i32 %tmp461, 01275  br i1 %tmp462, label %IF198, label %ENDIF1971276 1277IF198:                                            ; preds = %IF1891278  %tmp463 = fsub float -0.000000e+00, %tmp4551279  %tmp464 = fsub float -0.000000e+00, %tmp4561280  %tmp465 = fsub float -0.000000e+00, %tmp4571281  br label %ENDIF1971282 1283ENDIF197:                                         ; preds = %IF198, %IF1891284  %temp14.0 = phi float [ %tmp465, %IF198 ], [ %tmp457, %IF189 ]1285  %temp13.0 = phi float [ %tmp464, %IF198 ], [ %tmp456, %IF189 ]1286  %temp12.0 = phi float [ %tmp463, %IF198 ], [ %tmp455, %IF189 ]1287  %tmp160.bc = bitcast <4 x i32> %tmp160 to <4 x i32>1288  %tmp470 = call <4 x float> @llvm.amdgcn.image.sample.2d.v4f32.f32(i32 15, float %tmp219, float %tmp220, <8 x i32> %tmp158, <4 x i32> %tmp160.bc, i1 0, i32 0, i32 0)1289  %tmp471 = extractelement <4 x float> %tmp470, i32 01290  %tmp472 = extractelement <4 x float> %tmp470, i32 11291  %tmp473 = extractelement <4 x float> %tmp470, i32 21292  %tmp474 = extractelement <4 x float> %tmp470, i32 31293  %tmp475 = fmul float %tmp471, %tmp391294  %tmp476 = fadd float %tmp475, %tmp401295  %tmp477 = fmul float %tmp472, %tmp391296  %tmp478 = fadd float %tmp477, %tmp401297  %tmp479 = fmul float %tmp473, %tmp391298  %tmp480 = fadd float %tmp479, %tmp401299  %tmp481 = fmul float %tmp474, %tmp411300  %tmp482 = fadd float %tmp481, %tmp421301  %tmp156.bc = bitcast <4 x i32> %tmp156 to <4 x i32>1302  %tmp487 = call <4 x float> @llvm.amdgcn.image.sample.2d.v4f32.f32(i32 15, float %p2.i144, float %p2.i138, <8 x i32> %tmp154, <4 x i32> %tmp156.bc, i1 0, i32 0, i32 0)1303  %tmp488 = extractelement <4 x float> %tmp487, i32 01304  %tmp489 = extractelement <4 x float> %tmp487, i32 11305  %tmp490 = extractelement <4 x float> %tmp487, i32 21306  %tmp491 = extractelement <4 x float> %tmp487, i32 31307  %tmp492 = fmul float %tmp491, 3.200000e+011308  %tmp493 = fadd float %tmp492, -1.600000e+011309  %tmp494 = call float @llvm.exp2.f32(float %tmp493)1310  %tmp495 = fmul float %tmp488, %tmp4941311  %tmp496 = fmul float %tmp489, %tmp4941312  %tmp497 = fmul float %tmp490, %tmp4941313  %tmp498 = fmul float %tmp27, %tmp4951314  %tmp499 = fadd float %tmp498, %p2.i181315  %tmp500 = fmul float %tmp28, %tmp4961316  %tmp501 = fadd float %tmp500, %p2.i121317  %tmp502 = fmul float %tmp29, %tmp4971318  %tmp503 = fadd float %tmp502, %p2.i61319  %tmp504 = fmul float %tmp499, %tmp4821320  %tmp505 = fmul float %tmp501, %tmp4821321  %tmp506 = fmul float %tmp503, %tmp4821322  %tmp507 = fmul float %tmp482, 5.000000e-011323  %tmp508 = fadd float %tmp507, 5.000000e-011324  %tmp509 = fmul float %tmp476, %tmp5081325  %tmp510 = fadd float %tmp509, %tmp5041326  %tmp511 = fmul float %tmp478, %tmp5081327  %tmp512 = fadd float %tmp511, %tmp5051328  %tmp513 = fmul float %tmp480, %tmp5081329  %tmp514 = fadd float %tmp513, %tmp5061330  %tmp515 = fmul float %tmp510, %tmp3641331  %tmp516 = fmul float %tmp512, %tmp3651332  %tmp517 = fmul float %tmp514, %tmp3661333  %tmp518 = fmul float %tmp421, 0x3FDB2724400000001334  %tmp519 = fmul float %tmp423, 0xBFDB2724400000001335  %tmp520 = fadd float %tmp519, %tmp5181336  %tmp521 = fmul float %tmp433, 0x3FE99999A00000001337  %tmp522 = fadd float %tmp520, %tmp5211338  %tmp523 = fmul float %tmp522, 5.000000e-011339  %tmp524 = fadd float %tmp523, 0x3FE33333400000001340  %tmp525 = fmul float %tmp524, %tmp5241341  %tmp526 = fmul float %tmp515, %tmp5251342  %tmp527 = fmul float %tmp516, %tmp5251343  %tmp528 = fmul float %tmp517, %tmp5251344  %tmp529 = fsub float -0.000000e+00, %tmp711345  %tmp530 = fsub float -0.000000e+00, %tmp721346  %tmp531 = fsub float -0.000000e+00, %tmp731347  %tmp532 = fmul float %temp12.0, %tmp5291348  %tmp533 = fmul float %temp13.0, %tmp5301349  %tmp534 = fadd float %tmp533, %tmp5321350  %tmp535 = fmul float %temp14.0, %tmp5311351  %tmp536 = fadd float %tmp534, %tmp5351352  %max.0.i13 = call float @llvm.maxnum.f32(float %tmp536, float 0.000000e+00)1353  %clamp.i14 = call float @llvm.minnum.f32(float %max.0.i13, float 1.000000e+00)1354  %tmp538 = fmul float %tmp364, %clamp.i141355  %tmp539 = fmul float %tmp365, %clamp.i141356  %tmp540 = fmul float %tmp366, %clamp.i141357  %tmp541 = fmul float %tmp538, %tmp681358  %tmp542 = fmul float %tmp539, %tmp691359  %tmp543 = fmul float %tmp540, %tmp701360  %tmp544 = fsub float -0.000000e+00, %p2.i1361  %tmp545 = fadd float %tmp96, %tmp5441362  %tmp546 = fsub float -0.000000e+00, %p2.i1861363  %tmp547 = fadd float %tmp97, %tmp5461364  %tmp548 = fsub float -0.000000e+00, %p2.i1801365  %tmp549 = fadd float %tmp98, %tmp5481366  %tmp550 = fmul float %tmp545, %tmp5451367  %tmp551 = fmul float %tmp547, %tmp5471368  %tmp552 = fadd float %tmp551, %tmp5501369  %tmp553 = fmul float %tmp549, %tmp5491370  %tmp554 = fadd float %tmp552, %tmp5531371  %tmp555 = call float @llvm.amdgcn.rsq.f32(float %tmp554)1372  %tmp556 = fmul float %tmp555, %tmp5541373  %tmp557 = fsub float -0.000000e+00, %tmp5541374  %cmp1 = fcmp ogt float %tmp557, 0.000000e+001375  %tmp558 = select i1 %cmp1, float %tmp556, float 0.000000e+001376  %tmp559 = fsub float -0.000000e+00, %tmp831377  %tmp560 = fadd float %tmp558, %tmp5591378  %tmp561 = fsub float -0.000000e+00, %tmp821379  %tmp562 = fadd float %tmp558, %tmp5611380  %tmp563 = fsub float -0.000000e+00, %tmp811381  %tmp564 = fadd float %tmp558, %tmp5631382  %tmp565 = fsub float -0.000000e+00, %tmp831383  %tmp566 = fadd float %tmp82, %tmp5651384  %tmp567 = fsub float -0.000000e+00, %tmp821385  %tmp568 = fadd float %tmp81, %tmp5671386  %tmp569 = fsub float -0.000000e+00, %tmp811387  %tmp570 = fadd float %tmp80, %tmp5691388  %tmp571 = fdiv float 1.000000e+00, %tmp5661389  %tmp572 = fdiv float 1.000000e+00, %tmp5681390  %tmp573 = fdiv float 1.000000e+00, %tmp5701391  %tmp574 = fmul float %tmp560, %tmp5711392  %tmp575 = fmul float %tmp562, %tmp5721393  %tmp576 = fmul float %tmp564, %tmp5731394  %tmp577 = fcmp olt float %tmp558, %tmp821395  %tmp578 = sext i1 %tmp577 to i321396  %tmp579 = bitcast i32 %tmp578 to float1397  %tmp580 = bitcast float %tmp579 to i321398  %tmp581 = icmp ne i32 %tmp580, 01399  br i1 %tmp581, label %ENDIF200, label %ELSE2021400 1401ELSE202:                                          ; preds = %ENDIF1971402  %tmp582 = fcmp olt float %tmp558, %tmp811403  %tmp583 = sext i1 %tmp582 to i321404  %tmp584 = bitcast i32 %tmp583 to float1405  %tmp585 = bitcast float %tmp584 to i321406  %tmp586 = icmp ne i32 %tmp585, 01407  br i1 %tmp586, label %ENDIF200, label %ELSE2051408 1409ENDIF200:                                         ; preds = %ELSE205, %ELSE202, %ENDIF1971410  %temp80.0 = phi float [ %tmp574, %ENDIF197 ], [ %.226, %ELSE205 ], [ %tmp575, %ELSE202 ]1411  %temp88.0 = phi float [ %tmp121, %ENDIF197 ], [ %.227, %ELSE205 ], [ %tmp119, %ELSE202 ]1412  %temp89.0 = phi float [ %tmp122, %ENDIF197 ], [ %.228, %ELSE205 ], [ %tmp120, %ELSE202 ]1413  %temp90.0 = phi float [ %tmp119, %ENDIF197 ], [ %tmp115, %ELSE205 ], [ %tmp117, %ELSE202 ]1414  %temp91.0 = phi float [ %tmp120, %ENDIF197 ], [ %tmp116, %ELSE205 ], [ %tmp118, %ELSE202 ]1415  %tmp587 = fcmp olt float %tmp558, %tmp821416  %tmp588 = sext i1 %tmp587 to i321417  %tmp589 = bitcast i32 %tmp588 to float1418  %tmp590 = bitcast float %tmp589 to i321419  %tmp591 = icmp ne i32 %tmp590, 01420  br i1 %tmp591, label %ENDIF209, label %ELSE2111421 1422ELSE205:                                          ; preds = %ELSE2021423  %tmp592 = fcmp olt float %tmp558, %tmp801424  %tmp593 = sext i1 %tmp592 to i321425  %tmp594 = bitcast i32 %tmp593 to float1426  %tmp595 = bitcast float %tmp594 to i321427  %tmp596 = icmp ne i32 %tmp595, 01428  %.226 = select i1 %tmp596, float %tmp576, float 1.000000e+001429  %.227 = select i1 %tmp596, float %tmp117, float %tmp1151430  %.228 = select i1 %tmp596, float %tmp118, float %tmp1161431  br label %ENDIF2001432 1433ELSE211:                                          ; preds = %ENDIF2001434  %tmp597 = fcmp olt float %tmp558, %tmp811435  %tmp598 = sext i1 %tmp597 to i321436  %tmp599 = bitcast i32 %tmp598 to float1437  %tmp600 = bitcast float %tmp599 to i321438  %tmp601 = icmp ne i32 %tmp600, 01439  br i1 %tmp601, label %ENDIF209, label %ELSE2141440 1441ENDIF209:                                         ; preds = %ELSE214, %ELSE211, %ENDIF2001442  %temp52.0 = phi float [ %tmp107, %ENDIF200 ], [ %tmp99, %ELSE214 ], [ %tmp103, %ELSE211 ]1443  %temp53.0 = phi float [ %tmp108, %ENDIF200 ], [ %tmp100, %ELSE214 ], [ %tmp104, %ELSE211 ]1444  %temp54.0 = phi float [ %tmp109, %ENDIF200 ], [ %tmp101, %ELSE214 ], [ %tmp105, %ELSE211 ]1445  %temp55.0 = phi float [ %tmp110, %ENDIF200 ], [ %tmp102, %ELSE214 ], [ %tmp106, %ELSE211 ]1446  %temp68.0 = phi float [ %tmp111, %ENDIF200 ], [ %.230, %ELSE214 ], [ %tmp107, %ELSE211 ]1447  %temp69.0 = phi float [ %tmp112, %ENDIF200 ], [ %.231, %ELSE214 ], [ %tmp108, %ELSE211 ]1448  %temp70.0 = phi float [ %tmp113, %ENDIF200 ], [ %.232, %ELSE214 ], [ %tmp109, %ELSE211 ]1449  %temp71.0 = phi float [ %tmp114, %ENDIF200 ], [ %.233, %ELSE214 ], [ %tmp110, %ELSE211 ]1450  %tmp602 = fmul float %p2.i, %tmp841451  %tmp603 = fmul float %p2.i186, %tmp851452  %tmp604 = fadd float %tmp602, %tmp6031453  %tmp605 = fmul float %p2.i180, %tmp861454  %tmp606 = fadd float %tmp604, %tmp6051455  %tmp607 = fmul float %p2.i174, %tmp871456  %tmp608 = fadd float %tmp606, %tmp6071457  %tmp609 = fmul float %p2.i, %tmp881458  %tmp610 = fmul float %p2.i186, %tmp891459  %tmp611 = fadd float %tmp609, %tmp6101460  %tmp612 = fmul float %p2.i180, %tmp901461  %tmp613 = fadd float %tmp611, %tmp6121462  %tmp614 = fmul float %p2.i174, %tmp911463  %tmp615 = fadd float %tmp613, %tmp6141464  %tmp616 = fmul float %p2.i, %tmp921465  %tmp617 = fmul float %p2.i186, %tmp931466  %tmp618 = fadd float %tmp616, %tmp6171467  %tmp619 = fmul float %p2.i180, %tmp941468  %tmp620 = fadd float %tmp618, %tmp6191469  %tmp621 = fmul float %p2.i174, %tmp951470  %tmp622 = fadd float %tmp620, %tmp6211471  %tmp623 = fsub float -0.000000e+00, %tmp771472  %tmp624 = fadd float 1.000000e+00, %tmp6231473  %tmp625 = call float @llvm.fabs.f32(float %tmp608)1474  %tmp626 = call float @llvm.fabs.f32(float %tmp615)1475  %tmp627 = fcmp oge float %tmp624, %tmp6251476  %tmp628 = sext i1 %tmp627 to i321477  %tmp629 = bitcast i32 %tmp628 to float1478  %tmp630 = bitcast float %tmp629 to i321479  %tmp631 = and i32 %tmp630, 10653532161480  %tmp632 = bitcast i32 %tmp631 to float1481  %tmp633 = fcmp oge float %tmp624, %tmp6261482  %tmp634 = sext i1 %tmp633 to i321483  %tmp635 = bitcast i32 %tmp634 to float1484  %tmp636 = bitcast float %tmp635 to i321485  %tmp637 = and i32 %tmp636, 10653532161486  %tmp638 = bitcast i32 %tmp637 to float1487  %tmp639 = fmul float %tmp632, %tmp6381488  %tmp640 = fmul float %tmp622, %tmp6391489  %tmp641 = fmul float %tmp608, %temp68.01490  %tmp642 = fadd float %tmp641, %temp70.01491  %tmp643 = fmul float %tmp615, %temp69.01492  %tmp644 = fadd float %tmp643, %temp71.01493  %tmp645 = fmul float %tmp608, %temp52.01494  %tmp646 = fadd float %tmp645, %temp54.01495  %tmp647 = fmul float %tmp615, %temp53.01496  %tmp648 = fadd float %tmp647, %temp55.01497  %tmp649 = fadd float %temp80.0, -1.000000e+001498  %tmp650 = fmul float %tmp649, %tmp761499  %tmp651 = fadd float %tmp650, 1.000000e+001500  %max.0.i11 = call float @llvm.maxnum.f32(float %tmp651, float 0.000000e+00)1501  %clamp.i12 = call float @llvm.minnum.f32(float %max.0.i11, float 1.000000e+00)1502  %tmp128.bc = bitcast <4 x i32> %tmp128 to <4 x i32>1503  %tmp660 = call <4 x float> @llvm.amdgcn.image.sample.l.2d.v4f32.f32(i32 15, float %tmp642, float %tmp644, float 0.0, <8 x i32> %tmp126, <4 x i32> %tmp128.bc, i1 0, i32 0, i32 0)1504  %tmp661 = extractelement <4 x float> %tmp660, i32 01505  %tmp662 = extractelement <4 x float> %tmp660, i32 11506  %tmp670 = call <4 x float> @llvm.amdgcn.image.sample.l.2d.v4f32.f32(i32 15, float %tmp646, float %tmp648, float 0.0, <8 x i32> %tmp126, <4 x i32> %tmp128.bc, i1 0, i32 0, i32 0)1507  %tmp671 = extractelement <4 x float> %tmp670, i32 01508  %tmp672 = extractelement <4 x float> %tmp670, i32 11509  %tmp673 = fsub float -0.000000e+00, %tmp6621510  %tmp674 = fadd float 1.000000e+00, %tmp6731511  %tmp675 = fsub float -0.000000e+00, %tmp6721512  %tmp676 = fadd float 1.000000e+00, %tmp6751513  %tmp677 = fmul float %tmp674, 2.500000e-011514  %tmp678 = fmul float %tmp676, 2.500000e-011515  %tmp679 = fsub float -0.000000e+00, %tmp6771516  %tmp680 = fadd float %tmp661, %tmp6791517  %tmp681 = fsub float -0.000000e+00, %tmp6781518  %tmp682 = fadd float %tmp671, %tmp6811519  %tmp683 = fmul float %tmp640, %temp88.01520  %tmp684 = fadd float %tmp683, %temp89.01521  %tmp685 = fmul float %tmp640, %temp90.01522  %tmp686 = fadd float %tmp685, %temp91.01523  %max.0.i9 = call float @llvm.maxnum.f32(float %tmp684, float 0.000000e+00)1524  %clamp.i10 = call float @llvm.minnum.f32(float %max.0.i9, float 1.000000e+00)1525  %max.0.i7 = call float @llvm.maxnum.f32(float %tmp686, float 0.000000e+00)1526  %clamp.i8 = call float @llvm.minnum.f32(float %max.0.i7, float 1.000000e+00)1527  %tmp689 = fsub float -0.000000e+00, %clamp.i101528  %tmp690 = fadd float %tmp661, %tmp6891529  %tmp691 = fsub float -0.000000e+00, %clamp.i81530  %tmp692 = fadd float %tmp671, %tmp6911531  %tmp693 = fmul float %tmp661, %tmp6611532  %tmp694 = fmul float %tmp671, %tmp6711533  %tmp695 = fsub float -0.000000e+00, %tmp6931534  %tmp696 = fadd float %tmp680, %tmp6951535  %tmp697 = fsub float -0.000000e+00, %tmp6941536  %tmp698 = fadd float %tmp682, %tmp6971537  %tmp699 = fcmp uge float %tmp696, %tmp741538  %tmp700 = select i1 %tmp699, float %tmp696, float %tmp741539  %tmp701 = fcmp uge float %tmp698, %tmp741540  %tmp702 = select i1 %tmp701, float %tmp698, float %tmp741541  %tmp703 = fmul float %tmp690, %tmp6901542  %tmp704 = fadd float %tmp703, %tmp7001543  %tmp705 = fmul float %tmp692, %tmp6921544  %tmp706 = fadd float %tmp705, %tmp7021545  %tmp707 = fdiv float 1.000000e+00, %tmp7041546  %tmp708 = fdiv float 1.000000e+00, %tmp7061547  %tmp709 = fmul float %tmp700, %tmp7071548  %tmp710 = fmul float %tmp702, %tmp7081549  %tmp711 = fcmp oge float %tmp690, 0.000000e+001550  %tmp712 = sext i1 %tmp711 to i321551  %tmp713 = bitcast i32 %tmp712 to float1552  %tmp714 = bitcast float %tmp713 to i321553  %tmp715 = icmp ne i32 %tmp714, 01554  %.229 = select i1 %tmp715, float 1.000000e+00, float %tmp7091555  %tmp716 = fcmp oge float %tmp692, 0.000000e+001556  %tmp717 = sext i1 %tmp716 to i321557  %tmp718 = bitcast i32 %tmp717 to float1558  %tmp719 = bitcast float %tmp718 to i321559  %tmp720 = icmp ne i32 %tmp719, 01560  %temp28.0 = select i1 %tmp720, float 1.000000e+00, float %tmp7101561  %one.sub.a.i25 = fsub float 1.000000e+00, %clamp.i121562  %one.sub.ac.i26 = fmul float %one.sub.a.i25, %.2291563  %mul.i27 = fmul float %temp28.0, %.2291564  %result.i28 = fadd float %mul.i27, %one.sub.ac.i261565  %tmp721 = call float @llvm.pow.f32(float %result.i28, float %tmp75)1566  %tmp722 = fmul float %tmp721, %tmp781567  %tmp723 = fadd float %tmp722, %tmp791568  %max.0.i5 = call float @llvm.maxnum.f32(float %tmp723, float 0.000000e+00)1569  %clamp.i6 = call float @llvm.minnum.f32(float %max.0.i5, float 1.000000e+00)1570  %tmp725 = fmul float %clamp.i6, %clamp.i61571  %tmp726 = fmul float 2.000000e+00, %clamp.i61572  %tmp727 = fsub float -0.000000e+00, %tmp7261573  %tmp728 = fadd float 3.000000e+00, %tmp7271574  %tmp729 = fmul float %tmp725, %tmp7281575  %tmp730 = fmul float %tmp541, %tmp7291576  %tmp731 = fmul float %tmp542, %tmp7291577  %tmp732 = fmul float %tmp543, %tmp7291578  %tmp733 = fmul float %tmp730, %tmp5081579  %tmp734 = fadd float %tmp733, %tmp5261580  %tmp735 = fmul float %tmp731, %tmp5081581  %tmp736 = fadd float %tmp735, %tmp5271582  %tmp737 = fmul float %tmp732, %tmp5081583  %tmp738 = fadd float %tmp737, %tmp5281584  %one.sub.a.i23 = fsub float 1.000000e+00, %tmp2291585  %result.i24 = fadd float %tmp283, %one.sub.a.i231586  %one.sub.a.i21 = fsub float 1.000000e+00, %tmp361587  %result.i22 = fadd float %tmp294, %one.sub.a.i211588  %one.sub.a.i19 = fsub float 1.000000e+00, %tmp361589  %result.i20 = fadd float %tmp295, %one.sub.a.i191590  %one.sub.a.i17 = fsub float 1.000000e+00, %tmp361591  %result.i18 = fadd float %tmp296, %one.sub.a.i171592  %one.sub.a.i15 = fsub float 1.000000e+00, %tmp371593  %result.i16 = fadd float %result.i24, %one.sub.a.i151594  %tmp739 = fmul float %result.i22, %result.i161595  %tmp740 = fmul float %result.i20, %result.i161596  %tmp741 = fmul float %result.i18, %result.i161597  %tmp742 = fmul float %tmp734, %tmp7391598  %tmp743 = fmul float %tmp736, %tmp7401599  %tmp744 = fmul float %tmp738, %tmp7411600  %tmp745 = fmul float %temp12.0, %tmp2151601  %tmp746 = fmul float %temp13.0, %tmp2161602  %tmp747 = fadd float %tmp746, %tmp7451603  %tmp748 = fmul float %temp14.0, %tmp2171604  %tmp749 = fadd float %tmp747, %tmp7481605  %tmp750 = call float @llvm.fabs.f32(float %tmp749)1606  %tmp751 = fmul float %tmp750, %tmp7501607  %tmp752 = fmul float %tmp751, %tmp491608  %tmp753 = fadd float %tmp752, %tmp501609  %max.0.i3 = call float @llvm.maxnum.f32(float %tmp753, float 0.000000e+00)1610  %clamp.i4 = call float @llvm.minnum.f32(float %max.0.i3, float 1.000000e+00)1611  %tmp755 = fsub float -0.000000e+00, %clamp.i41612  %tmp756 = fadd float 1.000000e+00, %tmp7551613  %tmp757 = fmul float %tmp32, %tmp7561614  %tmp758 = fmul float %tmp32, %tmp7561615  %tmp759 = fmul float %tmp32, %tmp7561616  %tmp760 = fmul float %tmp33, %tmp7561617  %one.sub.a.i11 = fsub float 1.000000e+00, %tmp7571618  %one.sub.ac.i12 = fmul float %one.sub.a.i11, %tmp7421619  %mul.i13 = fmul float %tmp30, %tmp7421620  %result.i14 = fadd float %mul.i13, %one.sub.ac.i121621  %one.sub.a.i7 = fsub float 1.000000e+00, %tmp7581622  %one.sub.ac.i8 = fmul float %one.sub.a.i7, %tmp7431623  %mul.i9 = fmul float %tmp30, %tmp7431624  %result.i10 = fadd float %mul.i9, %one.sub.ac.i81625  %one.sub.a.i3 = fsub float 1.000000e+00, %tmp7591626  %one.sub.ac.i4 = fmul float %one.sub.a.i3, %tmp7441627  %mul.i5 = fmul float %tmp30, %tmp7441628  %result.i6 = fadd float %mul.i5, %one.sub.ac.i41629  %one.sub.a.i1 = fsub float 1.000000e+00, %tmp7601630  %one.sub.ac.i = fmul float %one.sub.a.i1, %tmp3671631  %mul.i = fmul float %tmp31, %tmp3671632  %result.i2 = fadd float %mul.i, %one.sub.ac.i1633  %tmp761 = fcmp uge float %result.i14, 0x3E6FFFFE600000001634  %tmp762 = select i1 %tmp761, float %result.i14, float 0x3E6FFFFE600000001635  %tmp763 = fcmp uge float %result.i10, 0x3E6FFFFE600000001636  %tmp764 = select i1 %tmp763, float %result.i10, float 0x3E6FFFFE600000001637  %tmp765 = fcmp uge float %result.i6, 0x3E6FFFFE600000001638  %tmp766 = select i1 %tmp765, float %result.i6, float 0x3E6FFFFE600000001639  %tmp767 = fcmp uge float %tmp762, 6.550400e+041640  %tmp768 = select i1 %tmp767, float 6.550400e+04, float %tmp7621641  %tmp769 = fcmp uge float %tmp764, 6.550400e+041642  %tmp770 = select i1 %tmp769, float 6.550400e+04, float %tmp7641643  %tmp771 = fcmp uge float %tmp766, 6.550400e+041644  %tmp772 = select i1 %tmp771, float 6.550400e+04, float %tmp7661645  %tmp773 = fmul float %result.i2, %tmp511646  %tmp774 = fadd float %tmp773, %tmp521647  %max.0.i1 = call float @llvm.maxnum.f32(float %tmp774, float 0.000000e+00)1648  %clamp.i2 = call float @llvm.minnum.f32(float %max.0.i1, float 1.000000e+00)1649  %tmp776 = call <2 x half> @llvm.amdgcn.cvt.pkrtz(float %tmp768, float %tmp770)1650  %tmp778 = call <2 x half> @llvm.amdgcn.cvt.pkrtz(float %tmp772, float %clamp.i2)1651  call void @llvm.amdgcn.exp.compr.v2f16(i32 0, i32 15, <2 x half> %tmp776, <2 x half> %tmp778, i1 true, i1 true) #01652  ret void1653 1654ELSE214:                                          ; preds = %ELSE2111655  %tmp780 = fcmp olt float %tmp558, %tmp801656  %tmp781 = sext i1 %tmp780 to i321657  %tmp782 = bitcast i32 %tmp781 to float1658  %tmp783 = bitcast float %tmp782 to i321659  %tmp784 = icmp ne i32 %tmp783, 01660  %.230 = select i1 %tmp784, float %tmp103, float %tmp991661  %.231 = select i1 %tmp784, float %tmp104, float %tmp1001662  %.232 = select i1 %tmp784, float %tmp105, float %tmp1011663  %.233 = select i1 %tmp784, float %tmp106, float %tmp1021664  br label %ENDIF2091665}1666 1667declare float @llvm.exp2.f32(float) #11668declare float @llvm.ceil.f32(float) #11669declare float @llvm.fabs.f32(float) #11670declare float @llvm.pow.f32(float, float) #11671declare float @llvm.minnum.f32(float, float) #11672declare float @llvm.maxnum.f32(float, float) #11673declare float @llvm.amdgcn.rsq.f32(float) #11674declare float @llvm.amdgcn.cubeid(float, float, float) #11675declare float @llvm.amdgcn.cubesc(float, float, float) #11676declare float @llvm.amdgcn.cubetc(float, float, float) #11677declare float @llvm.amdgcn.cubema(float, float, float) #11678declare float @llvm.amdgcn.interp.p1(float, i32, i32, i32) #11679declare float @llvm.amdgcn.interp.p2(float, float, i32, i32, i32) #11680declare i32 @llvm.amdgcn.mbcnt.lo(i32, i32) #11681declare i32 @llvm.amdgcn.mbcnt.hi(i32, i32) #11682declare void @llvm.amdgcn.exp.compr.v2f16(i32, i32, <2 x half>, <2 x half>, i1, i1) #01683declare <2 x half> @llvm.amdgcn.cvt.pkrtz(float, float) #11684declare <4 x float> @llvm.amdgcn.image.sample.2d.v4f32.f32(i32, float, float, <8 x i32>, <4 x i32>, i1, i32, i32) #21685declare <4 x float> @llvm.amdgcn.image.sample.cube.v4f32.f32(i32, float, float, float, <8 x i32>, <4 x i32>, i1, i32, i32) #21686declare <4 x float> @llvm.amdgcn.image.sample.d.2d.v4f32.f32.f32(i32, float, float, float, float, float, float, <8 x i32>, <4 x i32>, i1, i32, i32) #21687declare <4 x float> @llvm.amdgcn.image.sample.l.2d.v4f32.f32(i32, float, float, float, <8 x i32>, <4 x i32>, i1, i32, i32) #21688declare float @llvm.amdgcn.s.buffer.load.f32(<4 x i32>, i32, i32) #11689 1690attributes #0 = { nounwind }1691attributes #1 = { nounwind readnone }1692attributes #2 = { nounwind readonly }1693 1694!0 = !{!1, !1, i64 0, i32 1}1695!1 = !{!"const", !2}1696!2 = !{!"tbaa root"}1697