[llvm-bugs] [Bug 30416] New: SROA crash (fuzz testing)
via llvm-bugs
llvm-bugs at lists.llvm.org
Fri Sep 16 11:20:14 PDT 2016
https://llvm.org/bugs/show_bug.cgi?id=30416
Bug ID: 30416
Summary: SROA crash (fuzz testing)
Product: libraries
Version: 3.7
Hardware: PC
OS: Windows NT
Status: NEW
Severity: normal
Priority: P
Component: Scalar Optimizations
Assignee: unassignedbugs at nondot.org
Reporter: paul_robinson at playstation.sony.com
CC: llvm-bugs at lists.llvm.org
Classification: Unclassified
Created attachment 17283
--> https://llvm.org/bugs/attachment.cgi?id=17283&action=edit
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)
--
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/20160916/0acec030/attachment.html>
More information about the llvm-bugs
mailing list