<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 - [X86] ASSERT: !AM.Disp && "Non-zero displacement is ignored with JT.""
href="https://bugs.llvm.org/show_bug.cgi?id=41418">41418</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>[X86] ASSERT: !AM.Disp && "Non-zero displacement is ignored with JT."
</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>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>Backend: X86
</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>craig.topper@gmail.com, llvm-bugs@lists.llvm.org, llvm-dev@redking.me.uk, spatel+llvm@rotateright.com
</td>
</tr></table>
<p>
<div>
<pre>Reduced from <a href="https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=14106">https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=14106</a>
; ModuleID = 'bugpoint-reduced-simplified.bc'
source_filename = "llvm/test/Transforms/SimplifyCFG/2003-08-17-FoldSwitch.ll"
target triple = "x86_64-unknown-linux-gnu"
define void @test1() {
bb:
%B = urem i32 65536, -1
switch i32 %B, label %Default [
i32 0, label %Foo
i32 1, label %Bar
i32 2, label %Baz
i32 5, label %TheDest
]
Default: ; preds = %bb
ret void
Foo: ; preds = %bb
ret void
Bar: ; preds = %bb
ret void
Baz: ; preds = %bb
ret void
TheDest: ; preds = %bb
ret void
}
llc: /home/simon/LLVM/llvm/lib/Target/X86/X86ISelDAGToDAG.cpp:288: void
{anonymous}::X86DAGToDAGISel::getAddressOperands({anonymous}::X86ISelAddressMode&,
const llvm::SDLoc&, llvm::SDValue&, llvm::SDValue&, llvm::SDValue&,
llvm::SDValue&, llvm::SDValue&): Assertion `!AM.Disp && "Non-zero displacement
is ignored with JT."' failed.</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>