[llvm-bugs] [Bug 35821] New: Invalid shift amount assertion in -aa-eval
via llvm-bugs
llvm-bugs at lists.llvm.org
Thu Jan 4 09:00:27 PST 2018
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: unassignedbugs at nondot.org
Reporter: llvm-dev at redking.me.uk
CC: alina.sbirlea at gmail.com, llvm-bugs at lists.llvm.org,
nunoplopes at sapo.pt, spatel+llvm at rotateright.com,
yyc1992 at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20180104/8cdfa108/attachment.html>
More information about the llvm-bugs
mailing list