summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2009-09-22 08:47:59 +0000
committerEvan Cheng <evan.cheng@apple.com>2009-09-22 08:47:59 +0000
commit0570bbbd0f328a67f144037b447b707fffab2b5f (patch)
treebc044c3bdab8210f3aa68e03713860e89833e0af
parent08d1e41c107af1e08988bc54eef8d2a83cc6e322 (diff)
downloadbcm5719-llvm-0570bbbd0f328a67f144037b447b707fffab2b5f.tar.gz
bcm5719-llvm-0570bbbd0f328a67f144037b447b707fffab2b5f.zip
Forgot this.
llvm-svn: 82536
-rw-r--r--llvm/include/llvm/CodeGen/LiveVariables.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/llvm/include/llvm/CodeGen/LiveVariables.h b/llvm/include/llvm/CodeGen/LiveVariables.h
index 7a645040757..52d5595fc36 100644
--- a/llvm/include/llvm/CodeGen/LiveVariables.h
+++ b/llvm/include/llvm/CodeGen/LiveVariables.h
@@ -34,6 +34,7 @@
#include "llvm/CodeGen/MachineInstr.h"
#include "llvm/ADT/BitVector.h"
#include "llvm/ADT/DenseMap.h"
+#include "llvm/ADT/SmallSet.h"
#include "llvm/ADT/SmallVector.h"
#include "llvm/ADT/SparseBitVector.h"
@@ -151,8 +152,9 @@ private: // Intermediate data structures
void HandlePhysRegDef(unsigned Reg, MachineInstr *MI);
/// FindLastPartialDef - Return the last partial def of the specified register.
- /// Also returns the sub-register that's defined.
- MachineInstr *FindLastPartialDef(unsigned Reg, unsigned &PartDefReg);
+ /// Also returns the sub-registers that're defined by the instruction.
+ MachineInstr *FindLastPartialDef(unsigned Reg,
+ SmallSet<unsigned,4> &PartDefRegs);
/// hasRegisterUseBelow - Return true if the specified register is used after
/// the current instruction and before its next definition.
OpenPOWER on IntegriCloud