Displaying 2 results from an estimated 2 matches for "legacypass".
2018 Dec 28
2
Advice for Porting SafeStack to New Pass Manager
Hello,
I'm in the process of creating a pass for the new PM for SafeStack
which is only available as a part of the legacy PM. The only thing
bugging me is in regards to the TargetPassConfig analysis. Whereas
most other passes/analyses I have seen separate the logic between the
actual pass and anything it does to the IRUnits it runs over are in 2
separate classes, TargetPassConfig has them
2018 Dec 29
0
Advice for Porting SafeStack to New Pass Manager
...lot of error.
When possible separation of IR analysis/transformation logic from the
pass-manager-specific
pass/analysis housekeeping provides a cleanest way to share code between
legacy and newpm
while avoiding any ill dependencies.
In some cases this was done by NewPM pass instance reusing the
LegacyPass class
as an instance that does the actual transformation.
Yet, as I scan through TargetPassConfig, it looks more like a
PassBuilder/PassManager rather
than an analysis.
> Another potential idea which I am exploring in parallel to the first
> is to instead make the existing TargetPassConfi...