Use isIgnored instead of checking pass name
authorArthur Eubanks <aeubanks@google.com>
Fri, 4 Dec 2020 01:38:00 +0000 (17:38 -0800)
committerArthur Eubanks <aeubanks@google.com>
Fri, 4 Dec 2020 02:37:57 +0000 (18:37 -0800)
commit0173eb0faf7ba500865d9e043685c37fc00cf679
treed00404f3b37acbcfc632079c1cc54595a11f6102
parent305852686bf52037f81c0582400ceddb5e8844b3
Use isIgnored instead of checking pass name

In preparation for https://reviews.llvm.org/D92616 which will remove
angle brackets from pass manager/adaptor names.

Reviewed By: dexonsmith, thakis

Differential Revision: https://reviews.llvm.org/D92625
llvm/lib/Passes/StandardInstrumentations.cpp