summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/SemaDecl.cpp
diff options
context:
space:
mode:
authorStanislav Mekhanoshin <Stanislav.Mekhanoshin@amd.com>2017-02-10 02:07:58 +0000
committerStanislav Mekhanoshin <Stanislav.Mekhanoshin@amd.com>2017-02-10 02:07:58 +0000
commit6dec24316b00fcd278430a8b32a7d66189abf71a (patch)
treeb4aa4f42c8e79176ee219c6acad247f12a9008ca /clang/lib/Sema/SemaDecl.cpp
parent87c87f4c3064ffb6aac01b2eff9189544a87b70b (diff)
downloadbcm5719-llvm-6dec24316b00fcd278430a8b32a7d66189abf71a.tar.gz
bcm5719-llvm-6dec24316b00fcd278430a8b32a7d66189abf71a.zip
[AMDGPU] Override PSet for M0
This change returns empty PSet list for M0 register. Otherwise its PSet as defined by tablegen is SReg_32. This results in incorrect register pressure calculation every time an instruction uses M0. Such uses count as SReg_32 PSet and inadequately increase pressure on SGPRs. Differential Revision: https://reviews.llvm.org/D29798 llvm-svn: 294691
Diffstat (limited to 'clang/lib/Sema/SemaDecl.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud