diff options
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2009-08-08 13:19:10 +0000 |
---|---|---|
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2009-08-08 13:19:10 +0000 |
commit | 9390cd0e86cb3b79f6836acab2a27b275e5bde9e (patch) | |
tree | b19a164db68eeee7f29fc43bb60d91c40b14d583 /include/llvm/CodeGen/RegisterScavenging.h | |
parent | dffb051c21d32209c601ca0ca6baae75b6c6463f (diff) | |
download | llvm-9390cd0e86cb3b79f6836acab2a27b275e5bde9e.tar.gz llvm-9390cd0e86cb3b79f6836acab2a27b275e5bde9e.tar.bz2 llvm-9390cd0e86cb3b79f6836acab2a27b275e5bde9e.tar.xz |
Remove RegisterScavenger::isSuperRegUsed(). This completely reverses the mistaken commit r77904.
Now there is no special treatment of instructions that redefine part of a
super-register. Instead, the super-register is marked with <imp-use,kill> and
<imp-def>. For instance, from LowerSubregs on ARM:
subreg: CONVERTING: %Q1<def> = INSERT_SUBREG %Q1<undef>, %D1<kill>, 5
subreg: %D2<def> = FCPYD %D1<kill>, 14, %reg0, %Q1<imp-def>
subreg: CONVERTING: %Q1<def> = INSERT_SUBREG %Q1, %D0<kill>, 6
subreg: %D3<def> = FCPYD %D0<kill>, 14, %reg0, %Q1<imp-use,kill>, %Q1<imp-def>
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78466 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen/RegisterScavenging.h')
-rw-r--r-- | include/llvm/CodeGen/RegisterScavenging.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/include/llvm/CodeGen/RegisterScavenging.h b/include/llvm/CodeGen/RegisterScavenging.h index 478da3d142..2b86e5fda7 100644 --- a/include/llvm/CodeGen/RegisterScavenging.h +++ b/include/llvm/CodeGen/RegisterScavenging.h @@ -112,9 +112,6 @@ public: bool isUsed(unsigned Reg) const { return !RegsAvailable[Reg]; } bool isUnused(unsigned Reg) const { return RegsAvailable[Reg]; } - /// isSuperRegUsed - Test if a super register is currently being used. - bool isSuperRegUsed(unsigned Reg) const; - /// getRegsUsed - return all registers currently in use in used. void getRegsUsed(BitVector &used, bool includeReserved); |