[llvm] c64d0a7 - [ARM] Remove unused declaration isSafeToDefineLR

Kazu Hirata via llvm-commits llvm-commits at lists.llvm.org
Tue May 16 19:12:58 PDT 2023


Author: Kazu Hirata
Date: 2023-05-16T19:12:52-07:00
New Revision: c64d0a7f108aac69627396b1975771fa8b0d1f44

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

LOG: [ARM] Remove unused declaration isSafeToDefineLR

The corresponding function definition was removed by:

  commit e82a0084d322948b94a5ca3213237d5eeab4920f
  Author: Sam Parker <sam.parker at arm.com>
  Date:   Fri Sep 25 09:36:40 2020 +0100

Added: 
    

Modified: 
    llvm/lib/Target/ARM/ARMLowOverheadLoops.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Target/ARM/ARMLowOverheadLoops.cpp b/llvm/lib/Target/ARM/ARMLowOverheadLoops.cpp
index 1e0a7d11d8ac..247730c7b9ae 100644
--- a/llvm/lib/Target/ARM/ARMLowOverheadLoops.cpp
+++ b/llvm/lib/Target/ARM/ARMLowOverheadLoops.cpp
@@ -427,11 +427,6 @@ namespace {
     // after tail predication conversion.
     bool ValidateLiveOuts();
 
-    // Is it safe to define LR with DLS/WLS?
-    // LR can be defined if it is the operand to start, because it's the same
-    // value, or if it's going to be equivalent to the operand to Start.
-    MachineInstr *isSafeToDefineLR();
-
     // Check the branch targets are within range and we satisfy our
     // restrictions.
     void Validate(ARMBasicBlockUtils *BBUtils);


        


More information about the llvm-commits mailing list