diff options
Diffstat (limited to 'contrib/llvm/lib/MC/MCInstrDesc.cpp')
-rw-r--r-- | contrib/llvm/lib/MC/MCInstrDesc.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/llvm/lib/MC/MCInstrDesc.cpp b/contrib/llvm/lib/MC/MCInstrDesc.cpp index 5be2fa1b30b6..ee55f3eff3ac 100644 --- a/contrib/llvm/lib/MC/MCInstrDesc.cpp +++ b/contrib/llvm/lib/MC/MCInstrDesc.cpp @@ -53,7 +53,7 @@ bool MCInstrDesc::mayAffectControlFlow(const MCInst &MI, bool MCInstrDesc::hasImplicitDefOfPhysReg(unsigned Reg, const MCRegisterInfo *MRI) const { - if (const uint16_t *ImpDefs = ImplicitDefs) + if (const MCPhysReg *ImpDefs = ImplicitDefs) for (; *ImpDefs; ++ImpDefs) if (*ImpDefs == Reg || (MRI && MRI->isSubRegister(Reg, *ImpDefs))) return true; |