'Guard against some well-known LLVM bug(s).'

def _check_llvm_bugs(self):

    ir = '\n                                                define    double    @func()\n                                                {\n                                                                ret    double    1.23e+01\n                                                }\n                                                '
    mod = llvmts.parse_assembly(ir)
    ir_out = str(mod)
    if (('12.3' in ir_out) or ('1.23' in ir_out)):
        return
    if ('1.0' in ir_out):
        loc = locale.getlocale()
        raise RuntimeError(('LLVM    will    produce    incorrect    floating-point    code    in    the    current    locale    %s.\nPlease    read    http://numba.pydata.org/numba-doc/dev/user/faq.html#llvm-locale-bug    for    more    information.' % (loc,)))
    raise AssertionError(('Unexpected    IR:\n%s\n' % (ir_out,)))
