[llvm] r372968 - [llvm-exegesis][NFC] Remove dead code.
Clement Courbet via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 26 04:32:44 PDT 2019
Author: courbet
Date: Thu Sep 26 04:32:44 2019
New Revision: 372968
URL: http://llvm.org/viewvc/llvm-project?rev=372968&view=rev
Log:
[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
Modified:
llvm/trunk/tools/llvm-exegesis/lib/MCInstrDescView.cpp
llvm/trunk/tools/llvm-exegesis/lib/MCInstrDescView.h
Modified: llvm/trunk/tools/llvm-exegesis/lib/MCInstrDescView.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/llvm-exegesis/lib/MCInstrDescView.cpp?rev=372968&r1=372967&r2=372968&view=diff
==============================================================================
--- llvm/trunk/tools/llvm-exegesis/lib/MCInstrDescView.cpp (original)
+++ llvm/trunk/tools/llvm-exegesis/lib/MCInstrDescView.cpp Thu Sep 26 04:32:44 2019
@@ -183,12 +183,6 @@ bool Instruction::hasAliasingImplicitReg
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) &&
Modified: llvm/trunk/tools/llvm-exegesis/lib/MCInstrDescView.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/llvm-exegesis/lib/MCInstrDescView.h?rev=372968&r1=372967&r2=372968&view=diff
==============================================================================
--- llvm/trunk/tools/llvm-exegesis/lib/MCInstrDescView.h (original)
+++ llvm/trunk/tools/llvm-exegesis/lib/MCInstrDescView.h Thu Sep 26 04:32:44 2019
@@ -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;
More information about the llvm-commits
mailing list