commit | 28897ca434892340f2e188a0331db92d5899409b | [log] [tgz] |
---|---|---|
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | Thu Aug 02 14:45:53 2012 +0000 |
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | Thu Aug 02 14:45:53 2012 +0000 |
tree | baae5d30b510a82ab16d6ac78e6ae7ee33937e2a | |
parent | 5258d9f96767d898af4756930ce0c66a31ddf7d9 [diff] |
Add TargetRegisterInfo::hasRegUnit(). This trivial helper function tests if a register contains a register unit. It is similar to regsOverlap(), but with asymmetric arguments. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@161180 91177308-0d34-0410-b5e6-96231b3b80d8