[llvm-bugs] [Bug 33396] New: Assertion `CB != OutsideLoopPreds[i] && "Loop has multiple entry points!"' failed (Csmith)
via llvm-bugs
llvm-bugs at lists.llvm.org
Sat Jun 10 06:49:02 PDT 2017
https://bugs.llvm.org/show_bug.cgi?id=33396
Bug ID: 33396
Summary: Assertion `CB != OutsideLoopPreds[i] && "Loop has
multiple entry points!"' failed (Csmith)
Product: libraries
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: Loop Optimizer
Assignee: unassignedbugs at nondot.org
Reporter: paulsson at linux.vnet.ibm.com
CC: llvm-bugs at lists.llvm.org
Created attachment 18609
--> https://bugs.llvm.org/attachment.cgi?id=18609&action=edit
reduced testcase
; Function Attrs: nounwind
define void @main() local_unnamed_addr #0 {
entry:
br label %lbl_1476.i.i
lbl_1476.i.i: ; preds =
%safe_div_func_int8_t_s_s.exit.i.i, %entry
br i1 icmp ne (i8* getelementptr inbounds ([2 x i8], [2 x i8]* @g_140, i64 0,
i64 1), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @g_13, i64 0, i64 1)),
label %cond.true.i.i.i, label %safe_div_func_int8_t_s_s.exit.i.i
cond.true.i.i.i: ; preds = %lbl_1476.i.i
br label %safe_div_func_int8_t_s_s.exit.i.i
safe_div_func_int8_t_s_s.exit.i.i: ; preds = %cond.true.i.i.i,
%lbl_1476.i.i
%cond.i2.i.i = phi i32 [ 60, %cond.true.i.i.i ], [ sdiv (i32 60, i32 zext (i1
icmp eq (i8* getelementptr inbounds ([2 x i8], [2 x i8]* @g_140, i64 0, i64 1),
i8* getelementptr inbounds ([2 x i8], [2 x i8]* @g_13, i64 0, i64 1)) to i32)),
%lbl_1476.i.i ]
%cmp264.i.i = icmp slt i8 undef, -4
br label %lbl_1476.i.i
}
bin/llc -mtriple=s390x-linux-gnu -mcpu=z13 -o out.s
./loop_entrypoints.reduced.ll -verify-loop-info
--
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/20170610/6970d39c/attachment.html>
More information about the llvm-bugs
mailing list