commit | 0bf4d71d5015632e28e1f2a7fdc0075b2bf1a901 | [log] [tgz] |
---|---|---|
author | Stanislav Mekhanoshin <Stanislav.Mekhanoshin@amd.com> | Thu Feb 23 20:19:44 2017 +0000 |
committer | Stanislav Mekhanoshin <Stanislav.Mekhanoshin@amd.com> | Thu Feb 23 20:19:44 2017 +0000 |
tree | 22c4f81b7c64182d4d91fe941161d10ecab156d0 | |
parent | 54871261531f68ab9b7135026bf446fd1a3ac7a0 [diff] |
Correct register pressure calculation in presence of subregs If a subreg is used in an instruction it counts as a whole superreg for the purpose of register pressure calculation. This patch corrects improper register pressure calculation by examining operand's lane mask. Differential Revision: https://reviews.llvm.org/D29835 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@296009 91177308-0d34-0410-b5e6-96231b3b80d8