diff options
author | Dan Gohman <gohman@apple.com> | 2008-10-03 15:45:36 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2008-10-03 15:45:36 +0000 |
commit | b9f4fa7b400836808bc3beab96482418f418f246 (patch) | |
tree | 9019ef6d07a30709c5afbe52903a7cdfd9615cb1 /lib/CodeGen/MachineLICM.cpp | |
parent | 03ed0daeccf722920d2ee0a76eb399a487674f27 (diff) | |
download | external_llvm-b9f4fa7b400836808bc3beab96482418f418f246.zip external_llvm-b9f4fa7b400836808bc3beab96482418f418f246.tar.gz external_llvm-b9f4fa7b400836808bc3beab96482418f418f246.tar.bz2 |
Switch the MachineOperand accessors back to the short names like
isReg, etc., from isRegister, etc.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57006 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/MachineLICM.cpp')
-rw-r--r-- | lib/CodeGen/MachineLICM.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/MachineLICM.cpp b/lib/CodeGen/MachineLICM.cpp index 7238119..99252b2 100644 --- a/lib/CodeGen/MachineLICM.cpp +++ b/lib/CodeGen/MachineLICM.cpp @@ -248,7 +248,7 @@ bool MachineLICM::IsLoopInvariantInst(MachineInstr &I) { for (unsigned i = 0, e = I.getNumOperands(); i != e; ++i) { const MachineOperand &MO = I.getOperand(i); - if (!MO.isRegister()) + if (!MO.isReg()) continue; if (MO.isDef() && TargetRegisterInfo::isPhysicalRegister(MO.getReg())) |