Displaying 2 results from an estimated 2 matches for "d21570".
Did you mean:
21570
2016 Jul 15
4
RFC: Coroutine Optimization Passes
...the four
options I listed (repeated in P.S), or even some better way I did not think
about?
Thank you,
Gor
P.S.
Option 1: https://reviews.llvm.org/D21569 (no longer relevant, since we are
removing AttrKind::Coroutine)
Option 2: https://reviews.llvm.org/D21570 (bool& Devirt in runSCC)
Option 3: https://reviews.llvm.org/D21572 (virtual bool restatedRequested())
Option 4: Fake devirtualized call in a function pass, so that RefreshSCC will
detect devirtualization and restart the pipeline by itself.
2016 Jul 15
2
RFC: Coroutine Optimization Passes
...ine attribute on them.
https://reviews.llvm.org/D21569
Option 2: Add a ref parameter bool& Devirt parameter to runSCC virtual method.
If a pass sets Devirt to true, it indicates to CGPassManager that the changes
were made that require restart of the pipeline.
https://reviews.llvm.org/D21570
Option 3: Similar to Option 2, but instead of an extra parameter to runSCC, I
add another virtual function to CGSCC pass:
virtual bool restartRequested() const { return false; }
a pass can override it and return true, if restart is required.
Option 4: CoroSplit can add a fake indirect cal...