[PATCH] D82925: [NewPM][LSR] Rename strength-reduce -> loop-reduce

Arthur Eubanks via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 2 11:20:31 PDT 2020


This revision was automatically updated to reflect the committed changes.
Closed by commit rG3d12e79094d2: [NewPM][LSR] Rename strength-reduce -> loop-reduce (authored by aeubanks).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D82925/new/

https://reviews.llvm.org/D82925

Files:
  llvm/lib/FuzzMutate/FuzzerCLI.cpp
  llvm/lib/Passes/PassRegistry.def
  llvm/test/Analysis/ScalarEvolution/depth-limit-overrun.ll
  llvm/test/Transforms/LoopStrengthReduce/ivchain.ll


Index: llvm/test/Transforms/LoopStrengthReduce/ivchain.ll
===================================================================
--- llvm/test/Transforms/LoopStrengthReduce/ivchain.ll
+++ llvm/test/Transforms/LoopStrengthReduce/ivchain.ll
@@ -1,5 +1,5 @@
 ; RUN: opt < %s -loop-reduce -S | FileCheck %s
-; RUN: opt -passes='require<scalar-evolution>,require<targetir>,loop(strength-reduce)' < %s -S | FileCheck %s
+; RUN: opt -passes='require<scalar-evolution>,require<targetir>,loop(loop-reduce)' < %s -S | FileCheck %s
 ;
 ; PR11782: bad cast to AddRecExpr.
 ; A sign extend feeds an IVUser and cannot be hoisted into the AddRec.
Index: llvm/test/Analysis/ScalarEvolution/depth-limit-overrun.ll
===================================================================
--- llvm/test/Analysis/ScalarEvolution/depth-limit-overrun.ll
+++ llvm/test/Analysis/ScalarEvolution/depth-limit-overrun.ll
@@ -1,4 +1,4 @@
-; RUN: opt -passes 'strength-reduce' -scalar-evolution-max-arith-depth=2 -S < %s | FileCheck %s
+; RUN: opt -passes 'loop-reduce' -scalar-evolution-max-arith-depth=2 -S < %s | FileCheck %s
 ; RUN: opt -loop-reduce -scalar-evolution-max-arith-depth=2 -S < %s | FileCheck %s
 
 ; This test should just compile cleanly without assertions.
Index: llvm/lib/Passes/PassRegistry.def
===================================================================
--- llvm/lib/Passes/PassRegistry.def
+++ llvm/lib/Passes/PassRegistry.def
@@ -331,7 +331,7 @@
 LOOP_PASS("print", PrintLoopPass(dbgs()))
 LOOP_PASS("loop-deletion", LoopDeletionPass())
 LOOP_PASS("simplify-cfg", LoopSimplifyCFGPass())
-LOOP_PASS("strength-reduce", LoopStrengthReducePass())
+LOOP_PASS("loop-reduce", LoopStrengthReducePass())
 LOOP_PASS("indvars", IndVarSimplifyPass())
 LOOP_PASS("loop-unroll-full", LoopFullUnrollPass())
 LOOP_PASS("print-access-info", LoopAccessInfoPrinterPass(dbgs()))
Index: llvm/lib/FuzzMutate/FuzzerCLI.cpp
===================================================================
--- llvm/lib/FuzzMutate/FuzzerCLI.cpp
+++ llvm/lib/FuzzMutate/FuzzerCLI.cpp
@@ -111,7 +111,7 @@
     } else if (Opt == "indvars") {
       Args.push_back("-passes=indvars");
     } else if (Opt == "strength_reduce") {
-      Args.push_back("-passes=strength-reduce");
+      Args.push_back("-passes=loop-reduce");
     } else if (Opt == "irce") {
       Args.push_back("-passes=irce");
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D82925.275174.patch
Type: text/x-patch
Size: 2351 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200702/769c86af/attachment.bin>


More information about the llvm-commits mailing list