<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 --- - SROA crash (fuzz testing)"
href="https://llvm.org/bugs/show_bug.cgi?id=30416">30416</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>SROA crash (fuzz testing)
</td>
</tr>
<tr>
<th>Product</th>
<td>libraries
</td>
</tr>
<tr>
<th>Version</th>
<td>3.7
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>Windows NT
</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>Scalar Optimizations
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>paul_robinson@playstation.sony.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>Created <span class=""><a href="attachment.cgi?id=17283" name="attach_17283" title="Traceback from assertion">attachment 17283</a> <a href="attachment.cgi?id=17283&action=edit" title="Traceback from assertion">[details]</a></span>
Traceback from assertion
Fuzz testing got this crash; bugpoint-reduced IR file attached.
I admit it looks pretty bogus, the original IR is not quite so stupid.
But a crash is a crash, so I figured I'd file it anyway.
$ cat SROA-crash.ll
; ModuleID = 'bugpoint-reduced-simplified.bc'
; source_filename = "bugpoint-output-0a7776e.bc"
target triple = "x86_64-scei-ps4"
; Function Attrs: norecurse noreturn nounwind
define void @autogen_SD998899922() #0 {
CF419:
%A4 = alloca <4 x i64>, align 32
br label %CF434
CF434: ; preds = %CF434, %CF419
br label %CF434
CF449: ; preds = %CF449
br label %CF449
CF423: ; preds = %CF423
store <4 x i64> %L38, <4 x i64>* %A4, align 32
%L38 = load <4 x i64>, <4 x i64>* %A4, align 32
store <4 x i64> zeroinitializer, <4 x i64>* %A4, align 32
br label %CF423
}
attributes #0 = { noreturn nounwind }
$ opt -sroa SROA-crash.ll -S -o output.ll
opt: /home/probinson/projects/llvm-org/trunk/llvm/lib/IR/Value.cpp:373: void
llv
m::Value::replaceAllUsesWith(llvm::Value*): Assertion `!contains(New, this) &&
"
this->replaceAllUsesWith(expr(this)) is NOT valid!"' failed.
(full log attached)</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>