summaryrefslogtreecommitdiff
path: root/include/llvm
diff options
context:
space:
mode:
authorJim Grosbach <grosbach@apple.com>2011-03-05 00:20:19 +0000
committerJim Grosbach <grosbach@apple.com>2011-03-05 00:20:19 +0000
commit27ea9999e84dfb1e6c2baf06ec27a92f12753917 (patch)
tree6c0bff33f62a3b2ca5fc5de5e1c4b227bcbd1e99 /include/llvm
parent515c67ee77f8d9c417efc0fe04615d269bfb70e4 (diff)
downloadllvm-27ea9999e84dfb1e6c2baf06ec27a92f12753917.tar.gz
llvm-27ea9999e84dfb1e6c2baf06ec27a92f12753917.tar.bz2
llvm-27ea9999e84dfb1e6c2baf06ec27a92f12753917.tar.xz
Teach the register scavenger to take subregs into account when finding a free register.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127049 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm')
-rw-r--r--include/llvm/CodeGen/RegisterScavenging.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/CodeGen/RegisterScavenging.h b/include/llvm/CodeGen/RegisterScavenging.h
index 246831c034..26b6773c05 100644
--- a/include/llvm/CodeGen/RegisterScavenging.h
+++ b/include/llvm/CodeGen/RegisterScavenging.h
@@ -100,7 +100,7 @@ public:
/// getRegsAvailable - Return all available registers in the register class
/// in Mask.
- void getRegsAvailable(const TargetRegisterClass *RC, BitVector &Mask);
+ BitVector getRegsAvailable(const TargetRegisterClass *RC);
/// FindUnusedReg - Find a unused register of the specified register class.
/// Return 0 if none is found.