1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-26 04:32:44 +01:00

[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 8b8b700e48
commit eb3a1abb46
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;