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

            Bug ID: 35821
           Summary: Invalid shift amount assertion in -aa-eval
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Global Analyses
          Assignee: unassignedb...@nondot.org
          Reporter: llvm-...@redking.me.uk
                CC: alina.sbir...@gmail.com, llvm-bugs@lists.llvm.org,
                    nunoplo...@sapo.pt, spatel+l...@rotateright.com,
                    yyc1...@gmail.com

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

opt -aa-eval

define void @f() {
  %G26 = getelementptr i1, i1* undef, i1 undef
  %B20 = shl i8 -128, 16
  %G47 = getelementptr i1*, i1** undef, i8 %B20
  unreachable
}

Assertion failed: ShiftAmt <= BitWidth && "Invalid shift amount", file
D:\LLVM\llvm\include\llvm/ADT/APInt.h, line 894

-- 
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

Reply via email to