[AMDGPU] Add CL option for max-ilp scheduler.
authorAustin Kerbow <Austin.Kerbow@amd.com>
Tue, 2 Aug 2022 21:15:00 +0000 (14:15 -0700)
committerAustin Kerbow <Austin.Kerbow@amd.com>
Tue, 2 Aug 2022 23:52:14 +0000 (16:52 -0700)
commit3dfa5626434bf1e9f110e63e8224a66004f42eca
tree90cb49a4db3664da6d5e1320ad3b1aa37b65763a
parent4bd9d98bc2be3548418dc67accc662cbeb10a2e1
[AMDGPU] Add CL option for max-ilp scheduler.

When compiling for multiple targets the scheduler that is selected via the
-misched option is applied globally. This patch adds a target CL option instead.

Reviewed By: rampitec

Differential Revision: https://reviews.llvm.org/D131022
llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
llvm/test/CodeGen/AMDGPU/schedule-ilp.ll