[llvm-bugs] [Bug 36143] Compiler crash
via llvm-bugs
llvm-bugs at lists.llvm.org
Tue Jan 30 04:27:41 PST 2018
https://bugs.llvm.org/show_bug.cgi?id=36143
Simon Pilgrim <llvm-dev at redking.me.uk> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |llvm-dev at redking.me.uk
Resolution|--- |DUPLICATE
Status|NEW |RESOLVED
--- Comment #1 from Simon Pilgrim <llvm-dev at redking.me.uk> ---
Reduced:
@a = external local_unnamed_addr global i32, align 4
@b = external local_unnamed_addr global i32, align 4
@c = external local_unnamed_addr global i32, align 4
define void @main() {
entry:
%v = alloca i32, align 4
store volatile i32 1, i32* %v, align 4
%0 = load i32, i32* @a, align 4
%1 = load i32, i32* @b, align 4
%v.0.v.0.25 = load volatile i32, i32* %v, align 4
%v.0.v.0.26 = load volatile i32, i32* %v, align 4
%v.0.v.0.27 = load volatile i32, i32* %v, align 4
%v.0.v.0.28 = load volatile i32, i32* %v, align 4
%v.0.v.0.29 = load volatile i32, i32* %v, align 4
%v.0.v.0.30 = load volatile i32, i32* %v, align 4
%v.0.v.0.31 = load volatile i32, i32* %v, align 4
%v.0.v.0.32 = load volatile i32, i32* %v, align 4
%v.0.v.0.33 = load volatile i32, i32* %v, align 4
%v.0.v.0.34 = load volatile i32, i32* %v, align 4
%v.0.v.0.35 = load volatile i32, i32* %v, align 4
%v.0.v.0.36 = load volatile i32, i32* %v, align 4
%v.0.v.0.37 = load volatile i32, i32* %v, align 4
%v.0.v.0.38 = load volatile i32, i32* %v, align 4
%v.0.v.0.39 = load volatile i32, i32* %v, align 4
%2 = load i32, i32* @c, align 4
%v.0.v.0.40 = load volatile i32, i32* %v, align 4
%div20 = sdiv i32 %2, %v.0.v.0.40
%v.0.v.0.41 = load volatile i32, i32* %v, align 4
%div22 = sdiv i32 %v.0.v.0.41, %0
%factor = shl i32 %1, 1
%add4 = add i32 0, %factor
%add5 = add i32 %add4, %v.0.v.0.25
%add6 = add i32 %add5, %v.0.v.0.26
%add7 = add i32 %add6, %v.0.v.0.27
%add8 = add i32 %add7, %v.0.v.0.28
%add9 = add i32 %add8, %v.0.v.0.29
%add10 = add i32 %add9, %v.0.v.0.30
%add11 = add i32 %add10, %v.0.v.0.31
%add12 = add i32 %add11, %v.0.v.0.32
%add13 = add i32 %add12, %v.0.v.0.33
%add14 = add i32 %add13, %v.0.v.0.34
%add15 = add i32 %add14, %v.0.v.0.35
%add16 = add i32 %add15, %v.0.v.0.36
%add17 = add i32 %add16, %v.0.v.0.37
%add18 = add i32 %add17, %v.0.v.0.38
%add19 = add i32 %add18, %v.0.v.0.39
%add21 = add i32 %add19, %div20
%add23 = add i32 %add21, %div22
%cmp = icmp eq i32 %add23, 23
br i1 %cmp, label %if.end, label %if.then
if.then: ; preds = %entry
unreachable
if.end: ; preds = %entry
ret void
}
*** This bug has been marked as a duplicate of bug 35316 ***
--
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/20180130/4aea218d/attachment.html>
More information about the llvm-bugs
mailing list