[LLVMbugs] [Bug 16264] New: Assertion `NumAddedValues > 1 && "Each occurrence should contribute a value"' failed.

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Jun 7 05:47:15 PDT 2013


http://llvm.org/bugs/show_bug.cgi?id=16264

            Bug ID: 16264
           Summary: Assertion `NumAddedValues > 1 && "Each occurrence
                    should contribute a value"' failed.
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Scalar Optimizations
          Assignee: unassignedbugs at nondot.org
          Reporter: joel.gouly at gmail.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Created attachment 10644
  --> http://llvm.org/bugs/attachment.cgi?id=10644&action=edit
The crashing IR.

The attached IR fails with:
lib/Transforms/Scalar/Reassociate.cpp:1532: llvm::Value *<anonymous
namespace>::Reassociate::OptimizeAdd(llvm::Instruction *,
SmallVectorImpl<<anonymous>::ValueEntry> &): Assertion `NumAddedValues > 1 &&
"Each occurrence should contribute a value"' failed.

I've tried to create a minimal IR test case, that you can just run with:
opt -reassociate reassoc-crash.ll

-- 
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/20130607/69d1ea05/attachment.html>


More information about the llvm-bugs mailing list