diff options
author | Matthias Braun <matze@braunis.de> | 2015-08-18 18:54:27 +0000 |
---|---|---|
committer | Matthias Braun <matze@braunis.de> | 2015-08-18 18:54:27 +0000 |
commit | d55bcf2646dc43a7108a375e2fd83de03476f34f (patch) | |
tree | 38c5623a3122665a6e6878c8931b8cd23b0f8d7e /libcxx/include/vector | |
parent | 2f02ea462c6346ff301084cd17b27b2c7c750786 (diff) | |
download | bcm5719-llvm-d55bcf2646dc43a7108a375e2fd83de03476f34f.tar.gz bcm5719-llvm-d55bcf2646dc43a7108a375e2fd83de03476f34f.zip |
MachineRegisterInfo: Introduce isPhysRegUsed()
This method checks whether a physical regiser or any of its aliases are
used in the function.
Using this function in SIRegisterInfo::findUnusedReg() should also fix
this reported failure:
http://lists.llvm.org/pipermail/llvm-commits/Week-of-Mon-20150803/292143.html
http://reviews.llvm.org/rL242173#inline-533
The report doesn't come with a testcase and I don't know enough about
AMDGPU to create one myself.
llvm-svn: 245329
Diffstat (limited to 'libcxx/include/vector')
0 files changed, 0 insertions, 0 deletions