<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 - llc -stop-after broken after "Introduce CodeGenPassBuilder to help build codegen pipeline""
href="https://bugs.llvm.org/show_bug.cgi?id=48757">48757</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>llc -stop-after broken after "Introduce CodeGenPassBuilder to help build codegen pipeline"
</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>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>Common Code Generator Code
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>Matthew.Arsenault@amd.com
</td>
</tr>
<tr>
<th>CC</th>
<td>aeubanks@google.com, llvm-bugs@lists.llvm.org, yuanfang.chen@sony.com
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=24381" name="attach_24381" title="Testcase">attachment 24381</a> <a href="attachment.cgi?id=24381&action=edit" title="Testcase">[details]</a></span>
Testcase
Recently I've been having trouble using -stop-before and -stop-after, with an
error that the pass is not run:
$ llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx906
-start-before=si-form-memory-clauses -stop-after=virtregrewriter -o /dev/null
/tmp/stop-after-memory-clauses.mir
LLVM ERROR: Cannot stop compilation after pass that is not run
Reverting this commit seems to fix it:
commit 480936e741d588d53b9e2d9c5935b5daa0fdee25
Author: Yuanfang Chen <<a href="mailto:yuanfang.chen@sony.com">yuanfang.chen@sony.com</a>>
Date: Tue Dec 29 16:30:16 2020 -0800
Reland "[NewPM][CodeGen] Introduce CodeGenPassBuilder to help build codegen
pipeline" (again)
This reverts commit 16c8f6e91344ec9840d6aa9ec6b8d0c87a104ca3 with fix.
-Wswitch catched an unhandled enum value due to recent commits in
TargetPassConfig.cpp.</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>