diff --git a/tools/llvm-exegesis/lib/MCInstrDescView.cpp b/tools/llvm-exegesis/lib/MCInstrDescView.cpp index de36d5cda0c..3636a1d95fc 100644 --- a/tools/llvm-exegesis/lib/MCInstrDescView.cpp +++ b/tools/llvm-exegesis/lib/MCInstrDescView.cpp @@ -183,12 +183,6 @@ bool Instruction::hasAliasingImplicitRegisters() const { 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) && diff --git a/tools/llvm-exegesis/lib/MCInstrDescView.h b/tools/llvm-exegesis/lib/MCInstrDescView.h index b333b92bb0e..09bd1ce67db 100644 --- a/tools/llvm-exegesis/lib/MCInstrDescView.h +++ b/tools/llvm-exegesis/lib/MCInstrDescView.h @@ -114,10 +114,6 @@ struct Instruction { // 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;