[Git][ghc/ghc][wip/T26722] 8 commits: compiler: add targetHasRTSWays function