diff options
| author | Bob Wilson <bob.wilson@apple.com> | 2010-06-02 18:54:47 +0000 |
|---|---|---|
| committer | Bob Wilson <bob.wilson@apple.com> | 2010-06-02 18:54:47 +0000 |
| commit | 2d35a9e810cb21451c10c506f2c6ddb2ad6cf0fc (patch) | |
| tree | e9bfdff1df6ce8804bf981aa1f6678a26d09f767 /llvm/lib/CodeGen/TwoAddressInstructionPass.cpp | |
| parent | 8ae5097f8106b260389a269370f240d1ada84a30 (diff) | |
| download | bcm5719-llvm-2d35a9e810cb21451c10c506f2c6ddb2ad6cf0fc.tar.gz bcm5719-llvm-2d35a9e810cb21451c10c506f2c6ddb2ad6cf0fc.zip | |
Rename canCombinedSubRegIndex method to something more grammatically correct
and tidy up the comment describing it.
llvm-svn: 105339
Diffstat (limited to 'llvm/lib/CodeGen/TwoAddressInstructionPass.cpp')
| -rw-r--r-- | llvm/lib/CodeGen/TwoAddressInstructionPass.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/TwoAddressInstructionPass.cpp b/llvm/lib/CodeGen/TwoAddressInstructionPass.cpp index f61dbc95d1a..cd475cc0a9b 100644 --- a/llvm/lib/CodeGen/TwoAddressInstructionPass.cpp +++ b/llvm/lib/CodeGen/TwoAddressInstructionPass.cpp @@ -1185,8 +1185,8 @@ TwoAddressInstructionPass::CoalesceExtSubRegs(SmallVector<unsigned,4> &Srcs, std::sort(SubIndices.begin(), SubIndices.end()); unsigned NewSubIdx = 0; - if (TRI->canCombinedSubRegIndex(MRI->getRegClass(SrcReg), SubIndices, - NewSubIdx)) { + if (TRI->canCombineSubRegIndices(MRI->getRegClass(SrcReg), SubIndices, + NewSubIdx)) { bool Proceed = true; if (NewSubIdx) for (MachineRegisterInfo::reg_iterator RI = MRI->reg_begin(SrcReg), |

