1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 18:54:02 +01:00

[NPM][IVUsers] Rename ivusers -> iv-users

LPM passes were named iv-users, which seems nicer than ivusers.

Reviewed By: hans

Differential Revision: https://reviews.llvm.org/D83803
This commit is contained in:
Arthur Eubanks 2020-07-15 09:34:44 -07:00
parent 3bd12e996a
commit e676ba13ee
6 changed files with 8 additions and 8 deletions

View File

@ -316,7 +316,7 @@ FUNCTION_PASS_WITH_PARAMS("print<stack-lifetime>",
LOOP_ANALYSIS("no-op-loop", NoOpLoopAnalysis()) LOOP_ANALYSIS("no-op-loop", NoOpLoopAnalysis())
LOOP_ANALYSIS("access-info", LoopAccessAnalysis()) LOOP_ANALYSIS("access-info", LoopAccessAnalysis())
LOOP_ANALYSIS("ddg", DDGAnalysis()) LOOP_ANALYSIS("ddg", DDGAnalysis())
LOOP_ANALYSIS("ivusers", IVUsersAnalysis()) LOOP_ANALYSIS("iv-users", IVUsersAnalysis())
LOOP_ANALYSIS("pass-instrumentation", PassInstrumentationAnalysis(PIC)) LOOP_ANALYSIS("pass-instrumentation", PassInstrumentationAnalysis(PIC))
#undef LOOP_ANALYSIS #undef LOOP_ANALYSIS
@ -338,7 +338,7 @@ LOOP_PASS("indvars", IndVarSimplifyPass())
LOOP_PASS("loop-unroll-full", LoopFullUnrollPass()) LOOP_PASS("loop-unroll-full", LoopFullUnrollPass())
LOOP_PASS("print-access-info", LoopAccessInfoPrinterPass(dbgs())) LOOP_PASS("print-access-info", LoopAccessInfoPrinterPass(dbgs()))
LOOP_PASS("print<ddg>", DDGAnalysisPrinterPass(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<loopnest>", LoopNestPrinterPass(dbgs()))
LOOP_PASS("print<loop-cache-cost>", LoopCachePrinterPass(dbgs())) LOOP_PASS("print<loop-cache-cost>", LoopCachePrinterPass(dbgs()))
LOOP_PASS("loop-predication", LoopPredicationPass()) LOOP_PASS("loop-predication", LoopPredicationPass())

View File

@ -6,7 +6,7 @@
; checks at that point. ; checks at that point.
; RUN: opt < %s -analyze -iv-users | FileCheck %s --check-prefixes=CHECK,CHECK-NO-LCSSA ; 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. ; Provide legal integer types.
target datalayout = "n8:16:32:64" target datalayout = "n8:16:32:64"

View File

@ -1,5 +1,5 @@
; RUN: opt < %s -analyze -iv-users ; 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 ; PR9633: Tests that SCEV handles the mul.i2 recurrence being folded to
; constant zero. ; constant zero.

View File

@ -1,5 +1,5 @@
; RUN: opt < %s -iv-users -S -disable-output ; 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: ; PR12868: Infinite recursion:
; getUDivExpr()->getZeroExtendExpr()->isLoopBackedgeGuardedBy() ; getUDivExpr()->getZeroExtendExpr()->isLoopBackedgeGuardedBy()

View File

@ -1,5 +1,5 @@
; RUN: opt < %s -iv-users ; RUN: opt < %s -iv-users
; RUN: opt < %s -passes='require<ivusers>' ; RUN: opt < %s -passes='require<iv-users>'
; PR4538 ; PR4538
; ModuleID = 'bugpoint-reduced-simplified.bc' ; ModuleID = 'bugpoint-reduced-simplified.bc'

View File

@ -2,9 +2,9 @@
; one version with a no-op loop pass to make sure that the loop doesn't get ; one version with a no-op loop pass to make sure that the loop doesn't get
; simplified away. ; 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: | 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 ; RUN: | FileCheck %s --check-prefixes=CHECK,AFTER