[prev in list] [next in list] [prev in thread] [next in thread]
List: llvm-bugs
Subject: [llvm-bugs] [Bug 30213] New: Assertion during scev expansion
From: via llvm-bugs <llvm-bugs () lists ! llvm ! org>
Date: 2016-08-31 0:01:00
Message-ID: bug-30213-206 () http ! llvm ! org/bugs/
[Download RAW message or body]
--1472601660.dB7c0.12806
Date: Tue, 30 Aug 2016 19:01:00 -0500
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
https://llvm.org/bugs/show_bug.cgi?id=30213
Bug ID: 30213
Summary: Assertion during scev expansion
Product: libraries
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: Global Analyses
Assignee: unassignedbugs@nondot.org
Reporter: wmi@google.com
CC: llvm-bugs@lists.llvm.org
Classification: Unclassified
Original report:
http://lists.llvm.org/pipermail/llvm-commits/Week-of-Mon-20160829/385846.html
The assertion is caused by rL278161. Copy the bug report here so I have a bug
entry for reference.
$ cat bugpoint-reduced-simplified.ll
target datalayout = "e-m:o-p:32:32-f64:32:64-f80:128-n8:16:32-S128"
target triple = "i386-apple-macosx10.12.0"
; Function Attrs: nounwind optsize ssp
define void @Foo() {
entry:
switch i2 undef, label %sw.epilog102 [
i2 -2, label %sw.bb28
]
sw.bb28: ; preds = %entry
%0 = load i8*, i8** undef, align 2
%add.ptr1.i = getelementptr inbounds i8, i8* undef, i32 -1
%add.ptr4.i = getelementptr inbounds i8, i8* %0, i32 -1
%cmp.i = icmp ult i8* undef, %0
%add.ptr4.add.ptr1.i = select i1 %cmp.i, i8* %add.ptr4.i, i8* %add.ptr1.i
br label %while.cond.i
while.cond.i: ; preds = %while.cond.i,
%sw.bb28
%currPtr.1.i = phi i8* [ %incdec.ptr.i, %while.cond.i ], [
%add.ptr4.add.ptr1.i, %sw.bb28 ]
%incdec.ptr.i = getelementptr inbounds i8, i8* %currPtr.1.i, i32 1
%1 = load i8, i8* %incdec.ptr.i, align 1
br label %while.cond.i
sw.epilog102: ; preds = %entry
unreachable
}
$ bugpoint-reduced-simplified.ll -loop-reduce -disable-output
Assertion failed: (S1->getType() == S2->getType() && "Cannot create binary
operator with two operands of differing type!"), function Create, file
/Users/steven/dev/trunk/llvm/lib/IR/Instructions.cpp, line 2137.
--
You are receiving this mail because:
You are on the CC list for the bug.
--1472601660.dB7c0.12806
Date: Tue, 30 Aug 2016 19:01:00 -0500
MIME-Version: 1.0
Content-Type: text/html; charset="UTF-8"
<html>
<head>
<base href="https://llvm.org/bugs/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - Assertion during scev expansion"
href="https://llvm.org/bugs/show_bug.cgi?id=30213">30213</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Assertion during scev expansion
</td>
</tr>
<tr>
<th>Product</th>
<td>libraries
</td>
</tr>
<tr>
<th>Version</th>
<td>trunk
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>Global Analyses
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>wmi@google.com
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr></table>
<p>
<div>
<pre>Original report:
<a href="http://lists.llvm.org/pipermail/llvm-commits/Week-of-Mon-20160829/385846.html \
">http://lists.llvm.org/pipermail/llvm-commits/Week-of-Mon-20160829/385846.html</a>
The assertion is caused by rL278161. Copy the bug report here so I have a bug
entry for reference.
$ cat bugpoint-reduced-simplified.ll
target datalayout = "e-m:o-p:32:32-f64:32:64-f80:128-n8:16:32-S128"
target triple = "i386-apple-macosx10.12.0"
; Function Attrs: nounwind optsize ssp
define void @Foo() {
entry:
switch i2 undef, label %sw.epilog102 [
i2 -2, label %sw.bb28
]
sw.bb28: ; preds = %entry
%0 = load i8*, i8** undef, align 2
%add.ptr1.i = getelementptr inbounds i8, i8* undef, i32 -1
%add.ptr4.i = getelementptr inbounds i8, i8* %0, i32 -1
%cmp.i = icmp ult i8* undef, %0
%add.ptr4.add.ptr1.i = select i1 %cmp.i, i8* %add.ptr4.i, i8* %add.ptr1.i
br label %while.cond.i
while.cond.i: ; preds = %while.cond.i,
%sw.bb28
%currPtr.1.i = phi i8* [ %incdec.ptr.i, %while.cond.i ], [
%add.ptr4.add.ptr1.i, %sw.bb28 ]
%incdec.ptr.i = getelementptr inbounds i8, i8* %currPtr.1.i, i32 1
%1 = load i8, i8* %incdec.ptr.i, align 1
br label %while.cond.i
sw.epilog102: ; preds = %entry
unreachable
}
$ bugpoint-reduced-simplified.ll -loop-reduce -disable-output
Assertion failed: (S1->getType() == S2->getType() && "Cannot \
create binary operator with two operands of differing type!"), function Create, \
file /Users/steven/dev/trunk/llvm/lib/IR/Instructions.cpp, line 2137.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>
--1472601660.dB7c0.12806--
[Attachment #3 (text/plain)]
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic