[PATCH] D68078: [llvm-exegesis][NFC] Remove dead code.

Clement Courbet via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 26 04:33:48 PDT 2019


This revision was automatically updated to reflect the committed changes.
Closed by commit rL372968: [llvm-exegesis][NFC] Remove dead code. (authored by courbet, committed by ).

Changed prior to commit:
  https://reviews.llvm.org/D68078?vs=221909&id=221915#toc

Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D68078/new/

https://reviews.llvm.org/D68078

Files:
  llvm/trunk/tools/llvm-exegesis/lib/MCInstrDescView.cpp
  llvm/trunk/tools/llvm-exegesis/lib/MCInstrDescView.h


Index: llvm/trunk/tools/llvm-exegesis/lib/MCInstrDescView.cpp
===================================================================
--- llvm/trunk/tools/llvm-exegesis/lib/MCInstrDescView.cpp
+++ llvm/trunk/tools/llvm-exegesis/lib/MCInstrDescView.cpp
@@ -183,12 +183,6 @@
   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: llvm/trunk/tools/llvm-exegesis/lib/MCInstrDescView.h
===================================================================
--- llvm/trunk/tools/llvm-exegesis/lib/MCInstrDescView.h
+++ llvm/trunk/tools/llvm-exegesis/lib/MCInstrDescView.h
@@ -114,10 +114,6 @@
   // 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;
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D68078.221915.patch
Type: text/x-patch
Size: 1371 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190926/75b5d393/attachment.bin>


More information about the llvm-commits mailing list