[PATCH] D83803: [NPM][IVUsers] Rename ivusers -> iv-users
Arthur Eubanks via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 14 11:38:27 PDT 2020
aeubanks created this revision.
aeubanks added reviewers: hans, ychen.
Herald added subscribers: llvm-commits, hiraditya.
Herald added a project: LLVM.
LPM passes were named iv-users, which seems nicer than ivusers.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D83803
Files:
llvm/lib/Passes/PassRegistry.def
llvm/test/Analysis/IVUsers/quadradic-exit-value.ll
llvm/test/Analysis/ScalarEvolution/2011-04-26-FoldAddRec.ll
llvm/test/Analysis/ScalarEvolution/2012-05-18-LoopPredRecurse.ll
llvm/test/Analysis/ScalarEvolution/avoid-infinite-recursion-1.ll
llvm/test/Transforms/LoopDeletion/invalidation.ll
Index: llvm/test/Transforms/LoopDeletion/invalidation.ll
===================================================================
--- llvm/test/Transforms/LoopDeletion/invalidation.ll
+++ llvm/test/Transforms/LoopDeletion/invalidation.ll
@@ -2,9 +2,9 @@
; one version with a no-op loop pass to make sure that the loop doesn't get
; simplified away.
;
-; RUN: opt < %s -passes='require<ivusers>,no-op-loop,require<ivusers>' -S \
+; RUN: opt < %s -passes='require<iv-users>,no-op-loop,require<iv-users>' -S \
; RUN: | FileCheck %s --check-prefixes=CHECK,BEFORE
-; RUN: opt < %s -passes='require<ivusers>,loop-deletion,require<ivusers>' -S \
+; RUN: opt < %s -passes='require<iv-users>,loop-deletion,require<iv-users>' -S \
; RUN: | FileCheck %s --check-prefixes=CHECK,AFTER
Index: llvm/test/Analysis/ScalarEvolution/avoid-infinite-recursion-1.ll
===================================================================
--- llvm/test/Analysis/ScalarEvolution/avoid-infinite-recursion-1.ll
+++ llvm/test/Analysis/ScalarEvolution/avoid-infinite-recursion-1.ll
@@ -1,5 +1,5 @@
; RUN: opt < %s -iv-users
-; RUN: opt < %s -passes='require<ivusers>'
+; RUN: opt < %s -passes='require<iv-users>'
; PR4538
; ModuleID = 'bugpoint-reduced-simplified.bc'
Index: llvm/test/Analysis/ScalarEvolution/2012-05-18-LoopPredRecurse.ll
===================================================================
--- llvm/test/Analysis/ScalarEvolution/2012-05-18-LoopPredRecurse.ll
+++ llvm/test/Analysis/ScalarEvolution/2012-05-18-LoopPredRecurse.ll
@@ -1,5 +1,5 @@
; RUN: opt < %s -iv-users -S -disable-output
-; RUN: opt < %s -passes='require<ivusers>' -S -disable-output
+; RUN: opt < %s -passes='require<iv-users>' -S -disable-output
;
; PR12868: Infinite recursion:
; getUDivExpr()->getZeroExtendExpr()->isLoopBackedgeGuardedBy()
Index: llvm/test/Analysis/ScalarEvolution/2011-04-26-FoldAddRec.ll
===================================================================
--- llvm/test/Analysis/ScalarEvolution/2011-04-26-FoldAddRec.ll
+++ llvm/test/Analysis/ScalarEvolution/2011-04-26-FoldAddRec.ll
@@ -1,5 +1,5 @@
; RUN: opt < %s -analyze -iv-users
-; RUN: opt < %s -passes='print<ivusers>'
+; RUN: opt < %s -passes='print<iv-users>'
; PR9633: Tests that SCEV handles the mul.i2 recurrence being folded to
; constant zero.
Index: llvm/test/Analysis/IVUsers/quadradic-exit-value.ll
===================================================================
--- llvm/test/Analysis/IVUsers/quadradic-exit-value.ll
+++ llvm/test/Analysis/IVUsers/quadradic-exit-value.ll
@@ -6,7 +6,7 @@
; checks at that point.
; RUN: opt < %s -analyze -iv-users | FileCheck %s --check-prefixes=CHECK,CHECK-NO-LCSSA
-; RUN: opt < %s -disable-output -passes='print<ivusers>' 2>&1 | FileCheck %s
+; RUN: opt < %s -disable-output -passes='print<iv-users>' 2>&1 | FileCheck %s
; Provide legal integer types.
target datalayout = "n8:16:32:64"
Index: llvm/lib/Passes/PassRegistry.def
===================================================================
--- llvm/lib/Passes/PassRegistry.def
+++ llvm/lib/Passes/PassRegistry.def
@@ -316,7 +316,7 @@
LOOP_ANALYSIS("no-op-loop", NoOpLoopAnalysis())
LOOP_ANALYSIS("access-info", LoopAccessAnalysis())
LOOP_ANALYSIS("ddg", DDGAnalysis())
-LOOP_ANALYSIS("ivusers", IVUsersAnalysis())
+LOOP_ANALYSIS("iv-users", IVUsersAnalysis())
LOOP_ANALYSIS("pass-instrumentation", PassInstrumentationAnalysis(PIC))
#undef LOOP_ANALYSIS
@@ -338,7 +338,7 @@
LOOP_PASS("loop-unroll-full", LoopFullUnrollPass())
LOOP_PASS("print-access-info", LoopAccessInfoPrinterPass(dbgs()))
LOOP_PASS("print<ddg>", DDGAnalysisPrinterPass(dbgs()))
-LOOP_PASS("print<ivusers>", IVUsersPrinterPass(dbgs()))
+LOOP_PASS("print<iv-users>", IVUsersPrinterPass(dbgs()))
LOOP_PASS("print<loopnest>", LoopNestPrinterPass(dbgs()))
LOOP_PASS("print<loop-cache-cost>", LoopCachePrinterPass(dbgs()))
LOOP_PASS("loop-predication", LoopPredicationPass())
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D83803.277923.patch
Type: text/x-patch
Size: 3927 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200714/f2b288c1/attachment.bin>
More information about the llvm-commits
mailing list