]> granicus.if.org Git - llvm/commit
AMDGPU: Annotate necessity of flat-scratch-init
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Tue, 18 Jul 2017 16:44:58 +0000 (16:44 +0000)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Tue, 18 Jul 2017 16:44:58 +0000 (16:44 +0000)
commit5472b31175f7207d42d1f0a45635b7b9ebe12c97
treed34559cc14294e5ba2aef6067f6eaed7b7478933
parentda7ac1f435e780c84dae27af22e9559676448781
AMDGPU: Annotate necessity of flat-scratch-init

As an approximation of the existing handling to avoid
regressions. Fixes using too many registers with calls
on subtargets with the SGPR allocation bug.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@308326 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/AMDGPU/AMDGPUAnnotateKernelFeatures.cpp
lib/Target/AMDGPU/SIFrameLowering.cpp
lib/Target/AMDGPU/SIMachineFunctionInfo.cpp
test/CodeGen/AMDGPU/annotate-kernel-features-hsa-call.ll