https://bugs.llvm.org/show_bug.cgi?id=36820
Bug ID: 36820
Summary: [InstCombine] simplifyAllocaArraySize fails for out of
range constants
Product: libraries
Version: trunk
Hardware: PC
OS: Windows NT
Status: NEW
Severity: enhancement
Priority: P
Component: Common Code Generator Code
Assignee: unassignedb...@nondot.org
Reporter: llvm-...@redking.me.uk
CC: david.majne...@gmail.com, llvm-bugs@lists.llvm.org,
spatel+l...@rotateright.com
Reduced from https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=5223:
define void @f() {
BB:
%B51 = mul i864 65536, 65536
%B23 = sdiv i864 %B51, -1
%A9 = alloca i8, i864 %B23
br label %BB1
BB1: ; preds = %BB1, %BB
br i1 undef, label %BB1, label %BB3
BB3: ; preds = %BB3, %BB1
%G44 = getelementptr i8, i8* %A9, i1 undef
store i8* %G44, i8** undef
br label %BB3
}
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs