aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineDebugify.cpp
diff options
context:
space:
mode:
authorDaniel Sanders <daniel_l_sanders@apple.com>2020-04-08 13:43:46 -0700
committerDaniel Sanders <daniel_l_sanders@apple.com>2020-04-10 13:46:53 -0700
commitc162bc2aedbe7412a56063cd2284d1c7b1858f05 (patch)
tree8e09e14699c215de928297e8d8c1479c12ae14fa /llvm/lib/CodeGen/MachineDebugify.cpp
parent92dde8a6579108ae9e1d213e5d7709e1e1c1e46c (diff)
downloadllvm-c162bc2aedbe7412a56063cd2284d1c7b1858f05.zip
llvm-c162bc2aedbe7412a56063cd2284d1c7b1858f05.tar.gz
llvm-c162bc2aedbe7412a56063cd2284d1c7b1858f05.tar.bz2
Make TargetPassConfig and llc add pre/post passes the same way. NFC
Summary: At the moment, any changes we make to the passes that can be injected before/after others (e.g. -verify-machineinstrs and -print-after-all) have to be duplicated in both TargetPassConfig (for normal execution, -start-before/ -stop-before/etc) and llc (for -run-pass). Unify this pass injection into addMachinePrePass/addMachinePostPass that both TargetPassConfig and llc can use. Reviewers: vsk, aprantl, bogner Subscribers: hiraditya, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D77887
Diffstat (limited to 'llvm/lib/CodeGen/MachineDebugify.cpp')
0 files changed, 0 insertions, 0 deletions