aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
diff options
context:
space:
mode:
authorJinsong Ji <jji@us.ibm.com>2019-08-22 13:44:47 +0000
committerJinsong Ji <jji@us.ibm.com>2019-08-22 13:44:47 +0000
commit545e993b8b0c39c9622924cd6467e3adc9b075a4 (patch)
treee3e8b128aec454c21a19e27399e7f0c8833e4953 /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
parent589cb004dee799a097b878a8a13e4ba43114d5bd (diff)
downloadllvm-545e993b8b0c39c9622924cd6467e3adc9b075a4.zip
llvm-545e993b8b0c39c9622924cd6467e3adc9b075a4.tar.gz
llvm-545e993b8b0c39c9622924cd6467e3adc9b075a4.tar.bz2
[SlotIndexes] Add print-slotindexes to disable printing slotindexes
Summary: When we print the IR with --print-after/before-*, SlotIndexes will be printed whenever available (We haven't freed it). This introduces some noises when we try to compare the IR among different optimizations. eg: -print-before=machine-cp will print SlotIndexes for 1st machine-cp pass, but NOT for 2nd machine-cp; -print-after=machine-cp will NOT print SlotIndexes for both machine-cp passes. So SlotIndexes in 1st pass introduce noises when differing these IRs. This patch introduces an option to hide indexes. Reviewers: stoklund, thegameg, qcolombet Reviewed By: thegameg Subscribers: hiraditya, arphaman, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D66500 llvm-svn: 369650
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
0 files changed, 0 insertions, 0 deletions