<html>
<head>
<base href="https://bugs.llvm.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - uadd.with.overflow - type mismatch"
href="https://bugs.llvm.org/show_bug.cgi?id=38543">38543</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>uadd.with.overflow - type mismatch
</td>
</tr>
<tr>
<th>Product</th>
<td>new-bugs
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>Windows NT
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>enhancement
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>new bugs
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>llvm-dev@redking.me.uk
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org, spatel+llvm@rotateright.com
</td>
</tr></table>
<p>
<div>
<pre>%0 = type { i64, i1 }
declare %0 @llvm.uadd.with.overflow.i64(i64, i64)
define void @test6() {
%C = icmp ugt i64 9223372036854775807, -9223372036854775808
store i1 %C, i1* undef
ret void
}
llc -mtriple=x86_64-unknown
llc: /home/simon/LLVM/llvm/include/llvm/Support/Casting.h:255: typename
llvm::cast_retty<X, Y*>::ret_type llvm::cast(Y*) [with X = llvm::Function; Y =
llvm::Constant; typename llvm::cast_retty<X, Y*>::ret_type = llvm::Function*]:
Assertion `isa<X>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
Reduced from <a href="https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=6244">https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=6244</a></pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>