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: [email protected]
Reporter: [email protected]
CC: [email protected]
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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs