[llvm] 76b57f4 - [IndVarSimplify] Replace legacy loop-unswitch with SimpleLoopUnswitch.

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Sat Apr 23 06:09:43 PDT 2022


Author: Florian Hahn
Date: 2022-04-23T14:08:47+01:00
New Revision: 76b57f49a23e7bf23f9000d34cf015f6050f42bb

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

LOG: [IndVarSimplify] Replace legacy loop-unswitch with SimpleLoopUnswitch.

Also moves the test to use the new pass manager.

Added: 
    

Modified: 
    llvm/test/Transforms/IndVarSimplify/2014-06-21-congruent-constant.ll

Removed: 
    


################################################################################
diff  --git a/llvm/test/Transforms/IndVarSimplify/2014-06-21-congruent-constant.ll b/llvm/test/Transforms/IndVarSimplify/2014-06-21-congruent-constant.ll
index ef9257620e19c..3e9f70902a9b9 100644
--- a/llvm/test/Transforms/IndVarSimplify/2014-06-21-congruent-constant.ll
+++ b/llvm/test/Transforms/IndVarSimplify/2014-06-21-congruent-constant.ll
@@ -1,4 +1,4 @@
-; RUN: opt -S -loop-unswitch -instcombine -indvars -enable-new-pm=0 < %s | FileCheck %s
+; RUN: opt -passes='loop-mssa(simple-loop-unswitch<nontrivial>),instcombine,indvars' -S %s | FileCheck %s
 
 ; This used to crash in SCEVExpander when there were congruent phis with and
 ; undef incoming value from the loop header. The -loop-unswitch -instcombine is


        


More information about the llvm-commits mailing list