From d735b8019b0f297d7c14b55adcd887af24d8e602 Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Fri, 3 Oct 2008 15:45:36 +0000 Subject: 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 --- lib/CodeGen/MachineLICM.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/CodeGen/MachineLICM.cpp') diff --git a/lib/CodeGen/MachineLICM.cpp b/lib/CodeGen/MachineLICM.cpp index 723811932f..99252b2e60 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())) -- cgit v1.2.3