Add AddDiscriminatorsPass to NPM default O0 pipeline
authorYuanfang Chen <yuanfang.chen@sony.com>
Thu, 8 Jul 2021 19:20:57 +0000 (12:20 -0700)
committerYuanfang Chen <yuanfang.chen@sony.com>
Thu, 8 Jul 2021 23:37:20 +0000 (16:37 -0700)
commit0eb2b13d609c3225d1146bf7a9ef03340061c95d
tree3e6015a3606c942e2fba37a974d0fdbe3b60433e
parent0d0cff3ace39378acfc66d6564dc99e19b8a561f
Add AddDiscriminatorsPass to NPM default O0 pipeline

AddDiscriminatorsPass is in Legacy PM's O0 pipeline. This patch did the same
for NPM O0 pipeline.

Reviewed By: aeubanks, MaskRay

Differential Revision: https://reviews.llvm.org/D105650
llvm/lib/Passes/PassBuilder.cpp
llvm/test/Other/new-pm-O0-defaults.ll