[llvm] 9771818 - [Analysis] Remove a redundant return statement (NFC)

Kazu Hirata via llvm-commits llvm-commits at lists.llvm.org
Sat Jul 23 11:35:24 PDT 2022


Author: Kazu Hirata
Date: 2022-07-23T11:35:19-07:00
New Revision: 97718180d7ef327fbbea8de12f689bdf7f82a763

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

LOG: [Analysis] Remove a redundant return statement (NFC)

Identified with readability-redundant-control-flow.

Added: 
    

Modified: 
    llvm/lib/Analysis/LoopAccessAnalysis.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Analysis/LoopAccessAnalysis.cpp b/llvm/lib/Analysis/LoopAccessAnalysis.cpp
index d492a79a9b8f7..bed684b7652a3 100644
--- a/llvm/lib/Analysis/LoopAccessAnalysis.cpp
+++ b/llvm/lib/Analysis/LoopAccessAnalysis.cpp
@@ -900,8 +900,6 @@ findForkedSCEVs(ScalarEvolution *SE, const Loop *L, Value *Ptr,
         std::make_pair(Scev, !isGuaranteedNotToBeUndefOrPoison(Ptr)));
     break;
   }
-
-  return;
 }
 
 static SmallVector<std::pair<const SCEV *, bool>>


        


More information about the llvm-commits mailing list