[llvm-bugs] [Bug 24906] New: deadargelim crashes
via llvm-bugs
llvm-bugs at lists.llvm.org
Mon Sep 21 23:05:33 PDT 2015
https://llvm.org/bugs/show_bug.cgi?id=24906
Bug ID: 24906
Summary: deadargelim crashes
Product: libraries
Version: trunk
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P
Component: Interprocedural Optimizations
Assignee: unassignedbugs at nondot.org
Reporter: sanxiyn at gmail.com
CC: llvm-bugs at lists.llvm.org
Classification: Unclassified
Created attachment 14922
--> https://llvm.org/bugs/attachment.cgi?id=14922&action=edit
Test case
r248246.
Reduced from https://github.com/rust-lang/rust/issues/28066
$ opt -disable-output -deadargelim 28066.ll
Instruction does not dominate all uses!
%oldret6 = insertvalue %s %oldret4, i32 %newret5, 1
%tmp3 = phi %s [ %oldret6, %bb1 ], [ %oldret2, %bb2 ]
Instruction does not dominate all uses!
%oldret2 = insertvalue %s %oldret, i32 %newret1, 1
%tmp3 = phi %s [ %oldret6, %bb1 ], [ %oldret2, %bb2 ]
Instruction does not dominate all uses!
%tmp1 = invoke { i32, i32 } @f()
to label %bb3 unwind label %bb4
%newret3 = extractvalue { i32, i32 } %tmp1, 0
Instruction does not dominate all uses!
%tmp1 = invoke { i32, i32 } @f()
to label %bb3 unwind label %bb4
%newret5 = extractvalue { i32, i32 } %tmp1, 1
Instruction does not dominate all uses!
%tmp2 = invoke { i32, i32 } @f()
to label %bb3 unwind label %bb4
%newret = extractvalue { i32, i32 } %tmp2, 0
Instruction does not dominate all uses!
%tmp2 = invoke { i32, i32 } @f()
to label %bb3 unwind label %bb4
%newret1 = extractvalue { i32, i32 } %tmp2, 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/20150922/4e16a590/attachment.html>
More information about the llvm-bugs
mailing list