<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 - crash on option -print-machineinstrs=<wrong pass name>"
href="https://bugs.llvm.org/show_bug.cgi?id=39494">39494</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>crash on option -print-machineinstrs=<wrong pass name>
</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>cs15mtech11002@iith.ac.in
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org
</td>
</tr></table>
<p>
<div>
<pre>-print-machineinstrs <pass name>, when the pass name is incorrect or
unsupported compiler is crashing.
For example:
./bin/llc -O3 test.ll -o /dev/null -print-machineinstrs=greedy
WORKS WELL PRINTS MACHINE INSTRUCTIONS
./bin/llc -O3 feature-cache.ll -o /dev/null -print-machineinstrs=pbqp
llc:/home/.../llvm/lib/CodeGen/TargetPassConfig.cpp:843: virtual void
llvm::TargetPassConfig::addMachinePasses(): Assertion `TPI && IPI && "Pass ID
not registered!"' failed.
Stack dump:
0. Program arguments: /home/..../bin/llc -O3 test.ll -o /dev/null
-print-machineinstrs=pbqp
...
...
...</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>