Commit a43853ae authored by Arthur Eubanks's avatar Arthur Eubanks
Browse files

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

parent dfc46f02
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
; 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,...)
+4 −10
Original line number Diff line number Diff line
; 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,...)