[llvm-bugs] [Bug 35723] New: Expect TermInst on constantint or blockaddress to be folded
via llvm-bugs
llvm-bugs at lists.llvm.org
Thu Dec 21 13:14:16 PST 2017
https://bugs.llvm.org/show_bug.cgi?id=35723
Bug ID: 35723
Summary: Expect TermInst on constantint or blockaddress to be
folded
Product: new-bugs
Version: trunk
Hardware: PC
OS: All
Status: NEW
Severity: release blocker
Priority: P
Component: new bugs
Assignee: unassignedbugs at nondot.org
Reporter: ruttenberg at reservoir.com
CC: llvm-bugs at lists.llvm.org
Created attachment 19587
--> https://bugs.llvm.org/attachment.cgi?id=19587&action=edit
Reproducer
The attached pogram gets an assertion failure when compiled with -O > 0. This
is a new bug since the May 2017 trunk. The program is doing vary common stuff,
so I think this is an important bug.
$ ../llvm-targets/bin/clang -O1 -S x.c
clang-6.0:
/home/ruttenberg/reservoir/px/llvm/llvm/lib/Transforms/Scalar/SCCP.cpp:1933:
bool runIPSCCP(llvm::Module&, const llvm::DataLayout&, const
llvm::TargetLibraryInfo*): Assertion `Folded && "Expect TermInst on constantint
or blockaddress to be folded"' failed.
--
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/20171221/efec1f4c/attachment.html>
More information about the llvm-bugs
mailing list