<html>
<head>
<base href="http://llvm.org/bugs/" />
</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 --- - llvm/CodeGen/SlotIndexes.h: Assertion `itr != mi2iMap.end() && "Instruction not found in maps."' failed."
href="http://llvm.org/bugs/show_bug.cgi?id=16110">16110</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>llvm/CodeGen/SlotIndexes.h: Assertion `itr != mi2iMap.end() && "Instruction not found in maps."' failed.
</td>
</tr>
<tr>
<th>Product</th>
<td>new-bugs
</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>normal
</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>kcc@google.com
</td>
</tr>
<tr>
<th>CC</th>
<td>llvmbugs@cs.uiuc.edu
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr></table>
<p>
<div>
<pre>test case by csmith/creduce
LLVM r182482.
long long a;
int b;
int c;
int d;
int fn2();
int fn3();
int fn1 () {
int e;
c = 0;
for (; c; c++);
lbl_225:
for (b = 0; b < 1; ++b) {
int *f = 0;
fn2 ( (e ^= a) && fn3 (), f);
}
if (d)
goto lbl_225;
return 0;
}
% clang -O1 -g -S -target arm-linux-android-eabi i.c
clang-3.3: llvm/include/llvm/CodeGen/SlotIndexes.h:410: llvm::SlotIndex
llvm::SlotIndexes::getInstructionIndex(const llvm::MachineInstr *) const:
Assertion `itr != mi2iMap.end() && "Instruction not found in maps."' failed.
8 clang-3.3 0x0000000000e2872e
llvm::ConnectedVNInfoEqClasses::Distribute(llvm::LiveInterval**,
llvm::MachineRegisterInfo&) + 190
9 clang-3.3 0x0000000000e373ff
llvm::LiveRangeEdit::eliminateDeadDefs(llvm::SmallVectorImpl<llvm::MachineInstr*>&,
llvm::ArrayRef<unsigned int>) + 3327</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>