]> granicus.if.org Git - llvm/commitdiff
[llvm-exegesis][NFC] Remove dead code.
authorClement Courbet <courbet@google.com>
Thu, 26 Sep 2019 11:32:44 +0000 (11:32 +0000)
committerClement Courbet <courbet@google.com>
Thu, 26 Sep 2019 11:32:44 +0000 (11:32 +0000)
Summary: `hasAliasingImplicitRegistersThrough()` is no longer used.

Reviewers: gchatelet

Subscribers: tschuett, llvm-commits

Tags: #llvm

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@372968 91177308-0d34-0410-b5e6-96231b3b80d8

tools/llvm-exegesis/lib/MCInstrDescView.cpp
tools/llvm-exegesis/lib/MCInstrDescView.h

index de36d5cda0c0d70f9ccdae114064596f6a863014..3636a1d95fc6ed43e2462859a364adc8666e872c 100644 (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) &&
index b333b92bb0e627c48d26bc2d6098c1aa66780a20..09bd1ce67db164e8cb30df5c881006da90dcce36 100644 (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;