[AMDGPU] Remove FeatureVGPRSpilling
authorScott Linder <scott@scottlinder.com>
Wed, 31 Oct 2018 18:54:06 +0000 (18:54 +0000)
committerScott Linder <scott@scottlinder.com>
Wed, 31 Oct 2018 18:54:06 +0000 (18:54 +0000)
commitc6c627253db6b273dd995771e7af17c53858eaba
tree0bf7409b44ebdf69c4d2d6b4972514ac0ecef5d9
parent7c7cac05ed936fad0cefc888d2f30ceb47291ff5
[AMDGPU] Remove FeatureVGPRSpilling

This feature is only relevant to shaders, and is no longer used. When disabled,
lowering of reserved registers for shaders causes a compiler crash.

Remove the feature and add a test for compilation of shaders at OptNone.

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

llvm-svn: 345763
15 files changed:
llvm/lib/Target/AMDGPU/AMDGPU.td
llvm/lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp
llvm/lib/Target/AMDGPU/AMDGPUSubtarget.cpp
llvm/lib/Target/AMDGPU/AMDGPUSubtarget.h
llvm/lib/Target/AMDGPU/SIInstrInfo.cpp
llvm/lib/Target/AMDGPU/SIMachineFunctionInfo.cpp
llvm/test/CodeGen/AMDGPU/local-stack-slot-offset.ll
llvm/test/CodeGen/AMDGPU/noop-shader-O0.ll [new file with mode: 0644]
llvm/test/CodeGen/AMDGPU/schedule-vs-if-nested-loop-failure.ll
llvm/test/CodeGen/AMDGPU/scratch-simple.ll
llvm/test/CodeGen/AMDGPU/selected-stack-object.ll [deleted file]
llvm/test/CodeGen/AMDGPU/si-sgpr-spill.ll
llvm/test/CodeGen/AMDGPU/spill-m0.ll
llvm/test/CodeGen/AMDGPU/vgpr-spill-emergency-stack-slot-compute.ll
llvm/test/CodeGen/AMDGPU/vgpr-spill-emergency-stack-slot.ll