diff --git a/lib/Target/PTX/PTXInstrInfo.cpp b/lib/Target/PTX/PTXInstrInfo.cpp index 87634683082..8b473a1b33d 100644 --- a/lib/Target/PTX/PTXInstrInfo.cpp +++ b/lib/Target/PTX/PTXInstrInfo.cpp @@ -43,7 +43,7 @@ void PTXInstrInfo::copyPhysReg(MachineBasicBlock &MBB, if (map[i].cls->contains(DstReg, SrcReg)) { BuildMI(MBB, I, DL, get(map[i].opcode), DstReg).addReg(SrcReg, - Getkillregstate(KillSrc)); + getKillRegState(KillSrc)); return; } }