- set ->keep() as soon as possible
- refactor target machine detection
- refactor early exit with -module-summary/hash with -S option
- refactor use OutputKind
- extract initialize passes
- run-twice small refactors
- use == for SmallVector
Signed-off-by: Peter Kokai <kokaipeter@gmail.com>
GetOutputKind is only called once. The change does not seem to improve readability.