https://bugs.llvm.org/show_bug.cgi?id=38889
Bug ID: 38889
Summary: Instcombine crashes in the presence of llvm.assume and
pointer comparisons with NULL
Product: new-bugs
Version: 6.0
Hardware: All
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: new bugs
Assignee: unassignedb...@nondot.org
Reporter: doerf...@cs.uni-saarland.de
CC: llvm-bugs@lists.llvm.org
Created attachment 20859
--> https://bugs.llvm.org/attachment.cgi?id=20859&action=edit
Minimal test case
When I run opt -instcombine on the attached test case I get the following
error:
llvm/lib/IR/Constants.cpp:584: static llvm::Constant*
llvm::ConstantInt::get(llvm::Type*, const llvm::APInt&): Assertion
`C->getType() == Ty->getScalarType() && "ConstantInt type doesn't match the
type implied by its value!"' failed.
The IR looks fine to me and the verifier is also happy so this seems to be a
problem in instcombine. However, I only have a 6.0 version ready right now and
I'm not sure if it was fixed in trunk already.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs