HomePhabricator

[PowerPC] Enable MachinePipeliner for P9 with -ppc-enable-pipeliner

Authored by jsji on Jun 11 2019, 10:40 AM.

Description

[PowerPC] Enable MachinePipeliner for P9 with -ppc-enable-pipeliner

Implement necessary target hooks to enable MachinePipeliner for P9 only.
The pass is off by default, can be enabled with -ppc-enable-pipeliner for P9.

Differential Revision: https://reviews.llvm.org/D62164

llvm-svn: 363085