[llvm-bugs] [Bug 35843] New: Assertion in APInt::getSExtValue in -aa-eval

via llvm-bugs llvm-bugs at lists.llvm.org
Sat Jan 6 02:38:58 PST 2018


https://bugs.llvm.org/show_bug.cgi?id=35843

            Bug ID: 35843
           Summary: Assertion in APInt::getSExtValue in -aa-eval
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Global Analyses
          Assignee: unassignedbugs at nondot.org
          Reporter: llvm-dev at redking.me.uk
                CC: davide at freebsd.org, llvm-bugs at lists.llvm.org,
                    nunoplopes at sapo.pt, yyc1992 at gmail.com

Reduced from https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=4711

opt -aa-eval

define void @f() {
BB:
  %G22 = getelementptr i1*, i1** undef, i8 -1
  %B1 = mul i66 undef, 9223372036854775808
  %G45 = getelementptr i1**, i1*** undef, i66 %B1
  ret void
}

Assertion failed: getMinSignedBits() <= 64 && "Too many bits for int64_t", file
D:\LLVM\llvm\include\llvm/ADT/APInt.h, line 1557

-- 
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/20180106/062afc0a/attachment.html>


More information about the llvm-bugs mailing list