diff options
author | Christopher Lamb <christopher.lamb@gmail.com> | 2007-07-26 07:00:46 +0000 |
---|---|---|
committer | Christopher Lamb <christopher.lamb@gmail.com> | 2007-07-26 07:00:46 +0000 |
commit | 6f95014158208ad6cd6f6d1996c821fca61d7915 (patch) | |
tree | fd8e214253ddca6aeb21311ec45a0f874eb6c967 /include/llvm/CodeGen/MachineInstrBuilder.h | |
parent | 8245510ae084c3b75314d5d921967aaa48e0d18d (diff) |
Remove subreg index from MachineInstr's and also keep vregs as unsigned when adding operands.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40514 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen/MachineInstrBuilder.h')
-rw-r--r-- | include/llvm/CodeGen/MachineInstrBuilder.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/CodeGen/MachineInstrBuilder.h b/include/llvm/CodeGen/MachineInstrBuilder.h index eb45b6ec1f..c20d52d5ad 100644 --- a/include/llvm/CodeGen/MachineInstrBuilder.h +++ b/include/llvm/CodeGen/MachineInstrBuilder.h @@ -37,7 +37,7 @@ public: /// addReg - Add a new virtual register operand... /// const - MachineInstrBuilder &addReg(int RegNo, bool isDef = false, bool isImp = false, + MachineInstrBuilder &addReg(unsigned RegNo, bool isDef = false, bool isImp = false, bool isKill = false, bool isDead = false) const { MI->addRegOperand(RegNo, isDef, isImp, isKill, isDead); return *this; |