[llvm-bugs] [Bug 36820] New: [InstCombine] simplifyAllocaArraySize fails for out of range constants

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Mar 20 06:21:31 PDT 2018


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: unassignedbugs at nondot.org
          Reporter: llvm-dev at redking.me.uk
                CC: david.majnemer at gmail.com, llvm-bugs at lists.llvm.org,
                    spatel+llvm at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20180320/e5544c53/attachment-0001.html>


More information about the llvm-bugs mailing list