[llvm] a43853a - [test] Remove -loop-guard-widening legacy PM tests

Arthur Eubanks via llvm-commits llvm-commits at lists.llvm.org
Sun Sep 5 11:37:00 PDT 2021


Author: Arthur Eubanks
Date: 2021-09-05T11:36:21-07:00
New Revision: a43853aecde71312decf6ac3ed11f5e442a7f183

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

LOG: [test] Remove -loop-guard-widening legacy PM tests

Added: 
    

Modified: 
    llvm/test/Transforms/GuardWidening/basic-loop.ll
    llvm/test/Transforms/GuardWidening/loop-schedule.ll

Removed: 
    


################################################################################
diff  --git a/llvm/test/Transforms/GuardWidening/basic-loop.ll b/llvm/test/Transforms/GuardWidening/basic-loop.ll
index 20d40397d37e0..43a5a7a66bd1b 100644
--- a/llvm/test/Transforms/GuardWidening/basic-loop.ll
+++ b/llvm/test/Transforms/GuardWidening/basic-loop.ll
@@ -1,5 +1,4 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt -S -loop-guard-widening -verify-memoryssa -enable-new-pm=0 < %s | FileCheck %s
 ; RUN: opt -S -passes="loop-mssa(guard-widening)" -verify-memoryssa < %s | FileCheck %s
 
 declare void @llvm.experimental.guard(i1,...)

diff  --git a/llvm/test/Transforms/GuardWidening/loop-schedule.ll b/llvm/test/Transforms/GuardWidening/loop-schedule.ll
index 0cc082d333b8b..606ec89509cea 100644
--- a/llvm/test/Transforms/GuardWidening/loop-schedule.ll
+++ b/llvm/test/Transforms/GuardWidening/loop-schedule.ll
@@ -1,17 +1,11 @@
-; RUN: opt -S -licm -loop-guard-widening -licm -verify-memoryssa -debug-pass=Structure -enable-new-pm=0 < %s 2>&1 | FileCheck %s --check-prefixes=LPM,CHECK
-; RUN: opt -S -passes='licm,guard-widening,licm' -verify-memoryssa -debug-pass-manager < %s 2>&1 | FileCheck %s --check-prefixes=NPM,CHECK
+; RUN: opt -S -passes='licm,guard-widening,licm' -verify-memoryssa -debug-pass-manager < %s 2>&1 | FileCheck %s
 
 ; Main point of this test is to check the scheduling -- there should be
 ; no analysis passes needed between LICM and LoopGuardWidening
 
-; LPM: Loop Pass Manager
-; LPM:   Loop Invariant Code Motion
-; LPM-NEXT:   Widen guards (within a single loop, as a loop pass)
-; LPM-NEXT:   Loop Invariant Code Motion
-
-; NPM: LICMPass
-; NPM-NEXT: GuardWideningPass
-; NPM-NEXT: LICMPass
+; CHECK: LICMPass
+; CHECK-NEXT: GuardWideningPass
+; CHECK-NEXT: LICMPass
 
 declare void @llvm.experimental.guard(i1,...)
 


        


More information about the llvm-commits mailing list