[docs][NewPM] Add example C++ code on how to actually use the new PM
authorArthur Eubanks <aeubanks@google.com>
Mon, 25 Oct 2021 18:46:17 +0000 (11:46 -0700)
committerArthur Eubanks <aeubanks@google.com>
Mon, 25 Oct 2021 20:24:20 +0000 (13:24 -0700)
commitce304a452a8ccd8d4ec75260d8438bbbf3953568
tree6e31f03aa2a7ae109e4bc0150bfb6c9443884139
parent9769e97c35c6a128d22e24b52131b8e6e1257cbc
[docs][NewPM] Add example C++ code on how to actually use the new PM

Differential Revision: https://reviews.llvm.org/D112477
llvm/docs/NewPassManager.rst