Skip to content

Commit

Permalink
[Hexagon] Remove unused declaration getModuleMatchQuality
Browse files Browse the repository at this point in the history
getModuleMatchQuality was removed by:

  commit c3719c3
  Author: Daniel Dunbar <daniel@zuster.org>
  Date:   Sun Aug 2 23:37:13 2009 +0000

The Hexagon port was later added with getModuleMatchQuality by:

  commit 1213a7a
  Author: Tony Linthicum <tlinth@codeaurora.org>
  Date:   Mon Dec 12 21:14:40 2011 +0000

While we are at it, this patch removes a reference to
getModuleMatchQuality in the documentation.
  • Loading branch information
kazutakahirata committed May 20, 2023
1 parent 5bffce4 commit f0b3367
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion llvm/docs/WritingAnLLVMBackend.rst
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,6 @@ simply return a class member.
return &InstrInfo.getRegisterInfo();
}
virtual const DataLayout *getDataLayout() const { return &DataLayout; }
static unsigned getModuleMatchQuality(const Module &M);
// Pass Pipeline Configuration
virtual bool addInstSelector(PassManagerBase &PM, bool Fast);
Expand Down
2 changes: 0 additions & 2 deletions llvm/lib/Target/Hexagon/HexagonTargetMachine.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,6 @@ class HexagonTargetMachine : public LLVMTargetMachine {
~HexagonTargetMachine() override;
const HexagonSubtarget *getSubtargetImpl(const Function &F) const override;

static unsigned getModuleMatchQuality(const Module &M);

void registerPassBuilderCallbacks(PassBuilder &PB) override;
TargetPassConfig *createPassConfig(PassManagerBase &PM) override;
TargetTransformInfo getTargetTransformInfo(const Function &F) const override;
Expand Down

0 comments on commit f0b3367

Please sign in to comment.