[NFC] Rename IsCodeGenPass to ShouldPinPassToLegacyPM
authorArthur Eubanks <aeubanks@google.com>
Tue, 8 Dec 2020 07:14:49 +0000 (23:14 -0800)
committerArthur Eubanks <aeubanks@google.com>
Tue, 8 Dec 2020 21:38:56 +0000 (13:38 -0800)
commiteca13e995c6428e11f0d402641a74c9fe26f124c
tree14d7888605f45efb116ee9be4c8e994c945732e8
parent95ea50e4adf76b75fcc0ad29cacd10642db091a6
[NFC] Rename IsCodeGenPass to ShouldPinPassToLegacyPM

Codegen-specific passes are being ported to the NPM. Rename for better
clarity and note that ported passes that fully work with the NPM should
be removed from these lists.

Reviewed By: asbirlea

Differential Revision: https://reviews.llvm.org/D92818
llvm/tools/opt/opt.cpp