HomePhabricator

[NFC][NewPM] Reuse PassBuilder callbacks with -O0

Authored by aeubanks on Nov 5 2020, 10:25 AM.

Description

[NFC][NewPM] Reuse PassBuilder callbacks with -O0

This removes lots of duplicated code which was necessary before
https://reviews.llvm.org/D89158.
Now we can use PassBuilder::runRegisteredEPCallbacks().
This is mostly sanitizers.

There is likely more that can be done to simplify, but let's start with this.

Reviewed By: ychen

Differential Revision: https://reviews.llvm.org/D90870

Details

Committed
aeubanksNov 12 2020, 12:42 PM
Reviewer
ychen
Differential Revision
D90870: [NFC][NewPM] Reuse PassBuilder callbacks with -O0
Parents
rG3c6b457bee0c: [OPENMP]Fix PR48076: Check map types array before accessing its front.
Branches
Unknown
Tags
Unknown