The legacy PM's EP_CGSCCOptimizerLate was only used under not-O0.
Fixes clang/test/CodeGenCXX/cxx0x-initializer-stdinitializerlist.cpp under the new PM.
Paths 
  |  Differential  D95250  
[NewPM][AMDGPU] Skip adding CGSCCOptimizerLate callbacks at O0 ClosedPublic Authored by aeubanks on Jan 22 2021, 10:49 AM. 
Details Summary The legacy PM's EP_CGSCCOptimizerLate was only used under not-O0. Fixes clang/test/CodeGenCXX/cxx0x-initializer-stdinitializerlist.cpp under the new PM. 
Diff Detail 
 Event TimelineHerald added subscribers: kerbowa, hiraditya, t-tye and 6 others.  ·  View Herald TranscriptJan 22 2021, 10:49 AM This revision is now accepted and ready to land.Jan 22 2021, 11:49 AM This revision was landed with ongoing or failed builds.Jan 22 2021, 12:34 PM Closed by commit rG42d682a217b6: [NewPM][AMDGPU] Skip adding CGSCCOptimizerLate callbacks at O0 (authored by aeubanks).  ·  Explain Why This revision was automatically updated to reflect the committed changes. 
Revision Contents 
Diff 318611 llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
  | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||