[Git][ghc/ghc][wip/T26682] 17 commits: compiler: add targetHasRTSWays function