diff options
Diffstat (limited to 'contrib/llvm-project/llvm/lib/CodeGen/LiveRangeCalc.cpp')
| -rw-r--r-- | contrib/llvm-project/llvm/lib/CodeGen/LiveRangeCalc.cpp | 5 | 
1 files changed, 2 insertions, 3 deletions
diff --git a/contrib/llvm-project/llvm/lib/CodeGen/LiveRangeCalc.cpp b/contrib/llvm-project/llvm/lib/CodeGen/LiveRangeCalc.cpp index d670f28df6ba..24b57be0da00 100644 --- a/contrib/llvm-project/llvm/lib/CodeGen/LiveRangeCalc.cpp +++ b/contrib/llvm-project/llvm/lib/CodeGen/LiveRangeCalc.cpp @@ -10,7 +10,7 @@  //  //===----------------------------------------------------------------------===// -#include "LiveRangeCalc.h" +#include "llvm/CodeGen/LiveRangeCalc.h"  #include "llvm/ADT/BitVector.h"  #include "llvm/ADT/STLExtras.h"  #include "llvm/ADT/SetVector.h" @@ -372,8 +372,7 @@ bool LiveRangeCalc::findReachingDefs(LiveRange &LR, MachineBasicBlock &UseMBB,        report_fatal_error("Use not jointly dominated by defs.");      } -    if (TargetRegisterInfo::isPhysicalRegister(PhysReg) && -        !MBB->isLiveIn(PhysReg)) { +    if (Register::isPhysicalRegister(PhysReg) && !MBB->isLiveIn(PhysReg)) {        MBB->getParent()->verify();        const TargetRegisterInfo *TRI = MRI->getTargetRegisterInfo();        errs() << "The register " << printReg(PhysReg, TRI)  | 
