diff options
author | Philip Reames <listmail@philipreames.com> | 2018-03-20 18:43:44 +0000 |
---|---|---|
committer | Philip Reames <listmail@philipreames.com> | 2018-03-20 18:43:44 +0000 |
commit | ce998adf0a8f678b8121e3ce5bb6e46cd3a36d36 (patch) | |
tree | 90061ff918a60226fc3834c5d26a0aa5fa7ceeb0 /llvm/lib/CodeGen/SelectionDAG | |
parent | fced530650414f4f0901567e12b4c6318d70d811 (diff) | |
download | bcm5719-llvm-ce998adf0a8f678b8121e3ce5bb6e46cd3a36d36.tar.gz bcm5719-llvm-ce998adf0a8f678b8121e3ce5bb6e46cd3a36d36.zip |
[MustExecute] Use the annotation style printer
As suggested in the original review (https://reviews.llvm.org/D44524), use an annotation style printer instead.
Note: The switch from -analyze to -disable-output in tests was driven by the fact that seems to be the idiomatic style used in annoation passes. I tried to keep both working, but the old style pass API for printers really doesn't make this easy. It invokes (runOnFunction, print(Module)) repeatedly. I decided the extra state wasn't worth it given the old pass manager is going away soonish anyway.
llvm-svn: 328015
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG')
0 files changed, 0 insertions, 0 deletions