[llvm-exegesis][NFC] Remove dead code.

Summary: `hasAliasingImplicitRegistersThrough()` is no longer used.

Reviewers: gchatelet

Subscribers: tschuett, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D68078

llvm-svn: 372968
This commit is contained in:
Clement Courbet 2019-09-26 11:32:44 +00:00
parent 7568899b35
commit 06f9ce84fe
2 changed files with 0 additions and 10 deletions

View File

@ -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) &&

View File

@ -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;