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: unassignedb...@nondot.org
Reporter: cs15mtech11...@iith.ac.in
CC: llvm-bugs@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs