aboutsummaryrefslogtreecommitdiff
path: root/llvm/tools/llvm-objdump/llvm-objdump.cpp
diff options
context:
space:
mode:
authorJay Foad <jay.foad@amd.com>2020-10-15 16:45:50 +0100
committerJay Foad <jay.foad@amd.com>2020-10-16 16:51:56 +0100
commit0c1381d79567f58655561bd39f5efb1d468c930a (patch)
treeb5486759b165eb00bc276d9ce4a73e1f1d7f092a /llvm/tools/llvm-objdump/llvm-objdump.cpp
parent7dff6b818b1cdd52fbc99f6256760d6eb02a7622 (diff)
downloadllvm-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