summaryrefslogtreecommitdiff
path: root/lib/CodeGen/MachineSink.cpp
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2008-09-13 17:58:21 +0000
committerDan Gohman <gohman@apple.com>2008-09-13 17:58:21 +0000
commit014278e6a11fa0767853b831e5bf51b95bf541c5 (patch)
treecf93cc36bc9bf6bb3b78a416592b7a93c84efb22 /lib/CodeGen/MachineSink.cpp
parentb8ca4ff6439c1543a0c6729cbcd6c70c3be7dc3c (diff)
downloadllvm-014278e6a11fa0767853b831e5bf51b95bf541c5.tar.gz
llvm-014278e6a11fa0767853b831e5bf51b95bf541c5.tar.bz2
llvm-014278e6a11fa0767853b831e5bf51b95bf541c5.tar.xz
Remove isImm(), isReg(), and friends, in favor of
isImmediate(), isRegister(), and friends, to avoid confusion about having two different names with the same meaning. I'm not attached to the longer names, and would be ok with changing to the shorter names if others prefer it. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@56189 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/MachineSink.cpp')
-rw-r--r--lib/CodeGen/MachineSink.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/MachineSink.cpp b/lib/CodeGen/MachineSink.cpp
index 0f608d637c..ca47af40a8 100644
--- a/lib/CodeGen/MachineSink.cpp
+++ b/lib/CodeGen/MachineSink.cpp
@@ -155,7 +155,7 @@ bool MachineSinking::SinkInstruction(MachineInstr *MI, bool &SawStore) {
for (unsigned i = 0, e = MI->getNumOperands(); i != e; ++i) {
const MachineOperand &MO = MI->getOperand(i);
- if (!MO.isReg()) continue; // Ignore non-register operands.
+ if (!MO.isRegister()) continue; // Ignore non-register operands.
unsigned Reg = MO.getReg();
if (Reg == 0) continue;