<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 - Assertion `isa<X>(Val) && "cast<Ty>() argument of incompatible type!"' failed"
href="https://bugs.llvm.org/show_bug.cgi?id=33453">33453</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Assertion `isa<X>(Val) && "cast<Ty>() argument of incompatible type!"' failed
</td>
</tr>
<tr>
<th>Product</th>
<td>libraries
</td>
</tr>
<tr>
<th>Version</th>
<td>trunk
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux
</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>Scalar Optimizations
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>paulsson@linux.vnet.ibm.com
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=18637" name="attach_18637" title="reduced testcase">attachment 18637</a> <a href="attachment.cgi?id=18637&action=edit" title="reduced testcase">[details]</a></span>
reduced testcase
[with X = llvm::FPMathOperator; Y = const llvm::Operator; typename
llvm::cast_retty<X, Y*>::ret_type = const llvm::FPMathOperator*]
...
#12 0x000000000158f14a cannotBeOrderedLessThanZeroImpl(llvm::Value const*,
llvm::TargetLibraryInfo const*, bool, unsigned int)
#13 0x000000000158f5ce llvm::SignBitMustBeZero(llvm::Value const*,
llvm::TargetLibraryInfo const*)
#14 0x00000000013a9ee3 llvm::Value*
SimplifyIntrinsic<llvm::Use*>(llvm::Function*, llvm::Use*, llvm::Use*,
llvm::SimplifyQuery const&, unsigned int)
#15 0x00000000013a99a5 llvm::Value* SimplifyCall<llvm::Use*>(llvm::Value*,
llvm::Use*, llvm::Use*, llvm::SimplifyQuery const&, unsigned int)
#16 0x00000000013a8316 llvm::SimplifyCall(llvm::Value*, llvm::Use*, llvm::Use*,
llvm::SimplifyQuery const&)
#17 0x0000000001e05ecf llvm::InstCombiner::visitCallInst(llvm::CallInst&)
...
bin/opt -O3 -mtriple=s390x-unknown-linux -mcpu=z13 -o out.ll
./fpmathop_isa_fail.ll</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>