[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:08:33 PDT 2019
courbet created this revision.
courbet added a reviewer: gchatelet.
Herald added a subscriber: tschuett.
Herald added a project: LLVM.
`hasAliasingImplicitRegistersThrough()` is no longer used.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D68078
Files:
llvm/tools/llvm-exegesis/lib/MCInstrDescView.cpp
llvm/tools/llvm-exegesis/lib/MCInstrDescView.h
Index: llvm/tools/llvm-exegesis/lib/MCInstrDescView.h
===================================================================
--- llvm/tools/llvm-exegesis/lib/MCInstrDescView.h
+++ llvm/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;
Index: llvm/tools/llvm-exegesis/lib/MCInstrDescView.cpp
===================================================================
--- llvm/tools/llvm-exegesis/lib/MCInstrDescView.cpp
+++ llvm/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) &&
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D68078.221909.patch
Type: text/x-patch
Size: 1335 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190926/17a698bf/attachment.bin>
More information about the llvm-commits
mailing list