[Git][ghc/ghc][wip/26699] Refactoring after adding TTG extension