[llvm-bugs] [Bug 36271] New: Assert due to overflow in IEEEFloat::convertPPCDoubleDoubleAPFloatToAPInt bitcast

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Feb 7 07:22:19 PST 2018


https://bugs.llvm.org/show_bug.cgi?id=36271

            Bug ID: 36271
           Summary: Assert due to overflow in
                    IEEEFloat::convertPPCDoubleDoubleAPFloatToAPInt
                    bitcast
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Support Libraries
          Assignee: unassignedbugs at nondot.org
          Reporter: llvm-dev at redking.me.uk
                CC: llvm-bugs at lists.llvm.org

Reduced from https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=5779

opt -instcombine

Assertion failed: fs == opOK || fs == opInexact, file
F:\llvm\llvm\lib\Support\APFloat.cpp, line 2849

define void @i32_cast_cmp_oeq_int_0_uitofp_ppcf128() {
  %f = uitofp i32 65536 to ppc_fp128
  %B1 = fdiv ppc_fp128 %f, 0xM7FEFFFFFFFFFFFFF7C8FFFFFFFFFFFFE
  %B6 = fdiv ppc_fp128 %f, %B1
  store ppc_fp128 %B6, ppc_fp128* undef
  ret void
}

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20180207/62e319bd/attachment.html>


More information about the llvm-bugs mailing list