diff --git a/llvm/tools/llvm-exegesis/lib/MCInstrDescView.h b/llvm/tools/llvm-exegesis/lib/MCInstrDescView.h --- a/llvm/tools/llvm-exegesis/lib/MCInstrDescView.h +++ b/llvm/tools/llvm-exegesis/lib/MCInstrDescView.h @@ -114,10 +114,6 @@ // aliasing Use and Def registers. bool hasAliasingRegisters() const; - // Whether this instruction's implicit registers alias with OtherInstr's - // implicit registers. - bool hasAliasingImplicitRegistersThrough(const Instruction &OtherInstr) const; - // Whether this instruction's registers alias with OtherInstr's registers. bool hasAliasingRegistersThrough(const Instruction &OtherInstr) const; diff --git a/llvm/tools/llvm-exegesis/lib/MCInstrDescView.cpp b/llvm/tools/llvm-exegesis/lib/MCInstrDescView.cpp --- a/llvm/tools/llvm-exegesis/lib/MCInstrDescView.cpp +++ b/llvm/tools/llvm-exegesis/lib/MCInstrDescView.cpp @@ -183,12 +183,6 @@ return ImplDefRegs.anyCommon(ImplUseRegs); } -bool Instruction::hasAliasingImplicitRegistersThrough( - const Instruction &OtherInstr) const { - return ImplDefRegs.anyCommon(OtherInstr.ImplUseRegs) && - OtherInstr.ImplDefRegs.anyCommon(ImplUseRegs); -} - bool Instruction::hasAliasingRegistersThrough( const Instruction &OtherInstr) const { return AllDefRegs.anyCommon(OtherInstr.AllUseRegs) &&