https://bugs.llvm.org/show_bug.cgi?id=48757
Bug ID: 48757
Summary: llc -stop-after broken after "Introduce
CodeGenPassBuilder to help build codegen pipeline"
Product: libraries
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: Common Code Generator Code
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected],
[email protected]
Created attachment 24381
--> https://bugs.llvm.org/attachment.cgi?id=24381&action=edit
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 <[email protected]>
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.
--
You are receiving this mail because:
You are on the CC list for the bug._______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs