[llvm] f68c547 - [LAA] Remove unused RuntimeCheckingPtrGroup constructor (NFC).

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 1 05:30:56 PDT 2022


Author: Florian Hahn
Date: 2022-06-01T13:30:33+01:00
New Revision: f68c5471588859bda6e82f2e86a1fc4f47db70a0

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

LOG: [LAA] Remove unused RuntimeCheckingPtrGroup constructor (NFC).

The constructor is not used. Remove it.

Added: 
    

Modified: 
    llvm/include/llvm/Analysis/LoopAccessAnalysis.h

Removed: 
    


################################################################################
diff  --git a/llvm/include/llvm/Analysis/LoopAccessAnalysis.h b/llvm/include/llvm/Analysis/LoopAccessAnalysis.h
index d1b8964df08f..5e5196613f54 100644
--- a/llvm/include/llvm/Analysis/LoopAccessAnalysis.h
+++ b/llvm/include/llvm/Analysis/LoopAccessAnalysis.h
@@ -336,12 +336,6 @@ struct RuntimeCheckingPtrGroup {
   /// pointer, with index \p Index in RtCheck.
   RuntimeCheckingPtrGroup(unsigned Index, RuntimePointerChecking &RtCheck);
 
-  RuntimeCheckingPtrGroup(unsigned Index, const SCEV *Start, const SCEV *End,
-                          unsigned AS)
-      : High(End), Low(Start), AddressSpace(AS) {
-    Members.push_back(Index);
-  }
-
   /// Tries to add the pointer recorded in RtCheck at index
   /// \p Index to this pointer checking group. We can only add a pointer
   /// to a checking group if we will still be able to get


        


More information about the llvm-commits mailing list