Merging r258386:
authorTom Stellard <thomas.stellard@amd.com>
Tue, 26 Jan 2016 23:57:01 +0000 (23:57 +0000)
committerTom Stellard <thomas.stellard@amd.com>
Tue, 26 Jan 2016 23:57:01 +0000 (23:57 +0000)
commit5eefadb302242035deaf04c5585bb4cd46125deb
tree7549fb1966e2c3d4f8be0bc1cfeedf16c09c0968
parent44fb5881d8edf448d6231a5b8df583aecd6bcd42
Merging r258386:

------------------------------------------------------------------------
r258386 | thomas.stellard | 2016-01-20 23:28:34 -0500 (Wed, 20 Jan 2016) | 14 lines

AMDGPU/SI: Pass whether to use the SI scheduler via Target Attribute

Summary:
Currently the SI scheduler can be selected via command line option,
but it turned out it would be better if it was selectable via a Target Attribute.

This patch adds "si-scheduler" attribute to the backend.

Reviewers: tstellarAMD, echristo

Subscribers: echristo, arsenm

Differential Revision: http://reviews.llvm.org/D16192

------------------------------------------------------------------------

git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_38@258885 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/AMDGPU/AMDGPU.td
lib/Target/AMDGPU/AMDGPUSubtarget.cpp
lib/Target/AMDGPU/AMDGPUSubtarget.h
lib/Target/AMDGPU/AMDGPUTargetMachine.cpp