[llvm-bugs] [Bug 37203] New: PHI node has multiple entries for the same basic block with different incoming values!
via llvm-bugs
llvm-bugs at lists.llvm.org
Sun Apr 22 23:28:26 PDT 2018
https://bugs.llvm.org/show_bug.cgi?id=37203
Bug ID: 37203
Summary: PHI node has multiple entries for the same basic block
with different incoming values!
Product: new-bugs
Version: unspecified
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: new bugs
Assignee: unassignedbugs at nondot.org
Reporter: mikael.holmen at ericsson.com
CC: llvm-bugs at lists.llvm.org
Created attachment 20209
--> https://bugs.llvm.org/attachment.cgi?id=20209&action=edit
reproducer
Reproduce with:
opt -S -sroa tr15912.ll -o -</pre>
which gives
PHI node has multiple entries for the same basic block with different incoming
values!
%g.0.sroa.speculated = phi i16 [ %g.0.sroa.speculate.load.cleanup, %cleanup
], [ %g.0.sroa.speculate.load.cleanup1, %cleanup ], [ undef, %if.else ]
label %cleanup
%g.0.sroa.speculate.load.cleanup1 = load i16, i16* @a, align 1
%g.0.sroa.speculate.load.cleanup = load i16, i16* @a, align 1
LLVM ERROR: Broken function found, compilation aborted!
--
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/20180423/0ba0d596/attachment.html>
More information about the llvm-bugs
mailing list