mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-19 19:12:56 +02:00
8fd4972cdb
A pass declares itself unskippable by defining a method `static bool isRequired()`. Also, this patch makes pass managers and adaptor passes required (unskippable). PassInstrumentation before-pass-callbacks could be used to skip passes by returning false. However, some passes should not be skipped at all. Especially so for special-purpose passes such as pass managers and adaptor passes since if they are skipped for any reason, the passes contained by them would also be skipped ignoring contained passes's return value of `isRequired()`. Reviewed By: aeubanks Differential Revision: https://reviews.llvm.org/D82344 |
||
---|---|---|
.. | ||
llvm | ||
llvm-c |