Forgot this.
authorEvan Cheng <evan.cheng@apple.com>
Tue, 22 Sep 2009 08:47:59 +0000 (08:47 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Tue, 22 Sep 2009 08:47:59 +0000 (08:47 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82536 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/CodeGen/LiveVariables.h

index 7a645040757d052e290b576e04361ad46e3460b8..52d5595fc36b3aa87e0a58f3310e72235302e1a1 100644 (file)
@@ -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.