LLVM ERROR: Cannot select: 0x163dc40: i32,ch = AtomicLoadAdd 0x2156030, 0x19d4520, Constant:i32<1> 0x19d4520: i32 = add 0x1a9e770, Constant:i32<8> 0x1a9e770: i32 = add 0x1aab9a0, 0x198f7f0 0x1aab9a0: i32,ch = CopyFromReg 0x2156030, Register:i32 %vreg56 0x19cb970: i32 = Register %vreg56 0x198f7f0: i32 = shl 0x1a9e620, Constant:i32<4> 0x1a9e620: i32 = bitcast 0x12cf5a0 0x12cf5a0: f32 = select_cc 0x19ca210, ConstantFP:f32<0.000000e+00>, 0x159a200, ConstantFP:f32<9.183409e-41>, seteq:ch 0x19ca210: f32 = select_cc 0x1fc45e0, ConstantFP:f32<6.553500e+04>, ConstantFP:f32<1.000000e+00>, ConstantFP:f32<0.000000e+00>, setoge:ch 0x1fc45e0: f32 = select_cc 0x163d5b0, ConstantFP:f32<0.000000e+00>, 0x1a9e9a0, ConstantFP:f32<6.553550e+04>, seteq:ch 0x163d5b0: f32 = select_cc 0x15441e0, ConstantFP:f32<6.553500e+04>, ConstantFP:f32<1.000000e+00>, ConstantFP:f32<0.000000e+00>, setogt:ch 0x15441e0: f32,ch = CopyFromReg 0x2156030, Register:f32 %vreg52 0x159cae0: f32 = ConstantFP<6.553500e+04> 0x15cfad0: f32 = ConstantFP<1.000000e+00> 0x2097040: f32 = ConstantFP<0.000000e+00> 0x2097040: f32 = ConstantFP<0.000000e+00> 0x1a9e9a0: f32 = fadd 0x1990790, ConstantFP:f32<5.000000e-01> 0x1990790: f32 = FMAX_LEGACY ConstantFP:f32<0.000000e+00>, 0x15441e0 0x1aab230: f32 = ConstantFP<5.000000e-01> 0x15cf750: f32 = ConstantFP<6.553550e+04> 0x159cae0: f32 = ConstantFP<6.553500e+04> 0x15cfad0: f32 = ConstantFP<1.000000e+00> 0x2097040: f32 = ConstantFP<0.000000e+00> 0x2097040: f32 = ConstantFP<0.000000e+00> 0x159a200: f32 = bitcast 0x1fc0680 0x1fc0680: i32 = fp_to_uint 0x1fc45e0 0x1fc45e0: f32 = select_cc 0x163d5b0, ConstantFP:f32<0.000000e+00>, 0x1a9e9a0, ConstantFP:f32<6.553550e+04>, seteq:ch 0x163d5b0: f32 = select_cc 0x15441e0, ConstantFP:f32<6.553500e+04>, ConstantFP:f32<1.000000e+00>, ConstantFP:f32<0.000000e+00>, setogt:ch 0x2097040: f32 = ConstantFP<0.000000e+00> 0x1a9e9a0: f32 = fadd 0x1990790, ConstantFP:f32<5.000000e-01> 0x15cf750: f32 = ConstantFP<6.553550e+04> 0x19cbd60: f32 = ConstantFP<9.183409e-41> 0x159c140: i32 = Constant<4> 0x1aaae40: i32 = Constant<8> 0x20972e0: i32 = Constant<1> In function: Histogram