[llvm-bugs] [Bug 39494] New: crash on option -print-machineinstrs=<wrong pass name>

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Oct 29 23:35:45 PDT 2018


https://bugs.llvm.org/show_bug.cgi?id=39494

            Bug ID: 39494
           Summary: crash on option -print-machineinstrs=<wrong pass name>
           Product: new-bugs
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: cs15mtech11002 at iith.ac.in
                CC: llvm-bugs at lists.llvm.org

-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
...
...
...

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20181030/af7b9b3c/attachment.html>


More information about the llvm-bugs mailing list