[llvm-bugs] [Bug 24377] New: BranchProbability.h:35: llvm::BranchProbability::BranchProbability(uint32_t, uint32_t): Assertion `n <= d && "Probability cannot be bigger than 1!"' failed.

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Aug 6 09:39:02 PDT 2015


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

            Bug ID: 24377
           Summary: BranchProbability.h:35:
                    llvm::BranchProbability::BranchProbability(uint32_t,
                    uint32_t): Assertion `n <= d && "Probability cannot be
                    bigger than 1!"' failed.
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Common Code Generator Code
          Assignee: unassignedbugs at nondot.org
          Reporter: hfinkel at anl.gov
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

Created attachment 14702
  --> https://llvm.org/bugs/attachment.cgi?id=14702&action=edit
bugpoint reduced test case

Running llc on the attached (bugpoint-reduced) test case hits this assertion:

/src/llvm/include/llvm/Support/BranchProbability.h:35:
llvm::BranchProbability::BranchProbability(uint32_t, uint32_t): Assertion `n <=
d && "Probability cannot be bigger than 1!"' failed.

Reproduced on trunk, the problem was introduced sometime after r242865.

-- 
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/20150806/fc01a0ed/attachment.html>


More information about the llvm-bugs mailing list