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: unassignedb...@nondot.org
Reporter: ruttenb...@reservoir.com
CC: llvm-bugs@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs