[llvm] 21e2f13 - [LoopSimplifyCFG] Revert accidental change

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 18 06:31:46 PDT 2022


Author: Nikita Popov
Date: 2022-07-18T15:30:13+02:00
New Revision: 21e2f133a84bf370be1b59566c9ff7be1bb7c4a1

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

LOG: [LoopSimplifyCFG] Revert accidental change

This change was included in an unrelated change
b57d61384c9938e3dfa54b55bf8b2a0a05e67e28
and was of course not intended for commit...

Added: 
    

Modified: 
    llvm/lib/Transforms/Scalar/LoopSimplifyCFG.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Transforms/Scalar/LoopSimplifyCFG.cpp b/llvm/lib/Transforms/Scalar/LoopSimplifyCFG.cpp
index ab4130bb6ae53..b7e0e32780b47 100644
--- a/llvm/lib/Transforms/Scalar/LoopSimplifyCFG.cpp
+++ b/llvm/lib/Transforms/Scalar/LoopSimplifyCFG.cpp
@@ -344,7 +344,6 @@ class ConstantTerminatorFoldingImpl {
   /// Doing so, we preserve static reachibility of all dead exits and can later
   /// remove edges from the loop to these blocks.
   void handleDeadExits() {
-    return;
     // If no dead exits, nothing to do.
     if (DeadExitBlocks.empty())
       return;


        


More information about the llvm-commits mailing list