diff options
author | Jay Foad <jay.foad@amd.com> | 2020-10-15 16:45:50 +0100 |
---|---|---|
committer | Jay Foad <jay.foad@amd.com> | 2020-10-16 16:51:56 +0100 |
commit | 0c1381d79567f58655561bd39f5efb1d468c930a (patch) | |
tree | b5486759b165eb00bc276d9ce4a73e1f1d7f092a /llvm/tools/llvm-objdump/llvm-objdump.cpp | |
parent | 7dff6b818b1cdd52fbc99f6256760d6eb02a7622 (diff) | |
download | llvm-0c1381d79567f58655561bd39f5efb1d468c930a.zip llvm-0c1381d79567f58655561bd39f5efb1d468c930a.tar.gz llvm-0c1381d79567f58655561bd39f5efb1d468c930a.tar.bz2 |
[llc] Use -filetype=null to disable MIR printing
If you use -stop-after or similar options, llc will normally print MIR.
This patch checks for -filetype=null as a special case to disable MIR
printing. As the comment says, "The Null output is intended for use for
performance analysis ...", and I found this useful for timing a subset
of the passes that llc runs without the significant overhead of printing
MIR just to send it to /dev/null.
Differential Revision: https://reviews.llvm.org/D89476
Diffstat (limited to 'llvm/tools/llvm-objdump/llvm-objdump.cpp')
0 files changed, 0 insertions, 0 deletions