[Git][ghc/ghc][wip/T26709] 18 commits: compiler: add targetHasRTSWays function