[llvm] 017b9c0 - [CodeGen] Remove unused declaration RegisterDefIsDead

Kazu Hirata via llvm-commits llvm-commits at lists.llvm.org
Sun Oct 15 13:20:56 PDT 2023


Author: Kazu Hirata
Date: 2023-10-15T13:20:45-07:00
New Revision: 017b9c03d60676843438ffa53e77ea307303c848

URL: https://github.com/llvm/llvm-project/commit/017b9c03d60676843438ffa53e77ea307303c848
DIFF: https://github.com/llvm/llvm-project/commit/017b9c03d60676843438ffa53e77ea307303c848.diff

LOG: [CodeGen] Remove unused declaration RegisterDefIsDead

The corresponding function definition was removed by:

  commit 6325446666b4c76f399b3974f8ef1b5092624e2a
  Author: Evan Cheng <evan.cheng at apple.com>
  Date:   Wed Mar 5 00:59:57 2008 +0000

Added: 
    

Modified: 
    llvm/include/llvm/CodeGen/LiveVariables.h

Removed: 
    


################################################################################
diff  --git a/llvm/include/llvm/CodeGen/LiveVariables.h b/llvm/include/llvm/CodeGen/LiveVariables.h
index a1ed3c073251bf8..90aeb8ceda5590a 100644
--- a/llvm/include/llvm/CodeGen/LiveVariables.h
+++ b/llvm/include/llvm/CodeGen/LiveVariables.h
@@ -182,10 +182,6 @@ class LiveVariables : public MachineFunctionPass {
 
   bool runOnMachineFunction(MachineFunction &MF) override;
 
-  /// RegisterDefIsDead - Return true if the specified instruction defines the
-  /// specified register, but that definition is dead.
-  bool RegisterDefIsDead(MachineInstr &MI, Register Reg) const;
-
   //===--------------------------------------------------------------------===//
   //  API to update live variable information
 


        


More information about the llvm-commits mailing list