summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--llvm/tools/llvm-exegesis/lib/MCInstrDescView.cpp6
-rw-r--r--llvm/tools/llvm-exegesis/lib/MCInstrDescView.h4
2 files changed, 0 insertions, 10 deletions
diff --git a/llvm/tools/llvm-exegesis/lib/MCInstrDescView.cpp b/llvm/tools/llvm-exegesis/lib/MCInstrDescView.cpp
index de36d5cda0c..3636a1d95fc 100644
--- a/llvm/tools/llvm-exegesis/lib/MCInstrDescView.cpp
+++ b/llvm/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/llvm/tools/llvm-exegesis/lib/MCInstrDescView.h b/llvm/tools/llvm-exegesis/lib/MCInstrDescView.h
index b333b92bb0e..09bd1ce67db 100644
--- a/llvm/tools/llvm-exegesis/lib/MCInstrDescView.h
+++ b/llvm/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;
OpenPOWER on IntegriCloud