Skip to content

Commit 2eb40aa

Browse files
committed
[SimpleLoopUnswitch] Use loop-mssa in more tests (NFC)
We had a lot of -verify-memoryssa tests that did not actually use MemorySSA, because they were not using the loop-mssa adaptor.
1 parent 284d4e0 commit 2eb40aa

31 files changed

+32
-36
lines changed

llvm/test/Analysis/MemorySSA/loop-unswitch.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
; RUN: opt -S -passes=simple-loop-unswitch -disable-basic-aa -verify-memoryssa < %s | FileCheck %s
1+
; RUN: opt -S -passes="loop-mssa(simple-loop-unswitch)" -disable-basic-aa -verify-memoryssa < %s | FileCheck %s
22
; REQUIRES: asserts
33

44
target triple = "x86_64-unknown-linux-gnu"

llvm/test/Analysis/MemorySSA/pr40037.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
; REQUIRES: asserts
2-
; RUN: opt -S -passes=simple-loop-unswitch -verify-memoryssa < %s | FileCheck %s
2+
; RUN: opt -S -passes="loop-mssa(simple-loop-unswitch)" -verify-memoryssa < %s | FileCheck %s
33

44
target datalayout = "E-m:e-i1:8:16-i8:8:16-i64:64-f128:64-v128:64-a:8:16-n32:64"
55
target triple = "s390x-ibm-linux"

llvm/test/Analysis/MemorySSA/pr40749_2.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
; RUN: opt -S -passes=licm,simple-loop-unswitch -verify-memoryssa %s | FileCheck %s
1+
; RUN: opt -S -passes="loop-mssa(licm,simple-loop-unswitch)" -verify-memoryssa %s | FileCheck %s
22
; REQUIRES: asserts
33
target datalayout = "E-m:e-i1:8:16-i8:8:16-i64:64-f128:64-v128:64-a:8:16-n32:64"
44
target triple = "s390x-ibm-linux"

llvm/test/Analysis/MemorySSA/pr43641.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
; RUN: opt -passes=simple-loop-unswitch -enable-nontrivial-unswitch -verify-memoryssa -S < %s | FileCheck %s
1+
; RUN: opt -passes="loop-mssa(simple-loop-unswitch)" -enable-nontrivial-unswitch -verify-memoryssa -S < %s | FileCheck %s
22
; REQUIRES: asserts
33

44
; CHECK-LABEL: @c

llvm/test/Analysis/MemorySSA/pr46574.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
; RUN: opt -passes='loop-mssa(loop-instsimplify,loop-simplifycfg,licm,simple-loop-unswitch)' -enable-nontrivial-unswitch %s -disable-output
1+
; RUN: opt -passes='loop-mssa(loop-instsimplify,loop-simplifycfg,licm,simple-loop-unswitch)' -enable-nontrivial-unswitch -verify-memoryssa %s -disable-output
22
; REQUIRES: asserts
33

44
%0 = type { i24, i32, i32, i8 }

llvm/test/Analysis/MemorySSA/simple_loop_unswitch_nontrivial.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
; RUN: opt -passes=simple-loop-unswitch -enable-nontrivial-unswitch -verify-memoryssa -S %s | FileCheck %s
1+
; RUN: opt -passes="loop-mssa(simple-loop-unswitch)" -enable-nontrivial-unswitch -verify-memoryssa -S %s | FileCheck %s
22
; REQUIRES: asserts
33

44
target triple = "x86_64-unknown-linux-gnu"

llvm/test/Transforms/SimpleLoopUnswitch/2006-06-13-SingleEntryPHI.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
; RUN: opt < %s -passes=simple-loop-unswitch -verify-memoryssa -disable-output
1+
; RUN: opt < %s -passes="loop-mssa(simple-loop-unswitch)" -verify-memoryssa -disable-output
22

33
%struct.BLEND_MAP = type { i16, i16, i16, i32, ptr }
44
%struct.BLEND_MAP_ENTRY = type { float, i8, { [5 x float], [4 x i8] } }

llvm/test/Transforms/SimpleLoopUnswitch/2006-06-27-DeadSwitchCase.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
; RUN: opt < %s -passes=simple-loop-unswitch -verify-memoryssa -disable-output
1+
; RUN: opt < %s -passes="loop-mssa(simple-loop-unswitch)" -verify-memoryssa -disable-output
22

33
define void @init_caller_save() {
44
entry:

llvm/test/Transforms/SimpleLoopUnswitch/2007-05-09-Unreachable.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
; PR1333
2-
; RUN: opt < %s -passes=simple-loop-unswitch -verify-memoryssa -disable-output
2+
; RUN: opt < %s -passes="loop-mssa(simple-loop-unswitch)" -verify-memoryssa -disable-output
33

44
target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64"
55
target triple = "i686-pc-linux-gnu"

llvm/test/Transforms/SimpleLoopUnswitch/2007-05-09-tl.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
; RUN: opt < %s -passes=simple-loop-unswitch -verify-memoryssa -disable-output
1+
; RUN: opt < %s -passes="loop-mssa(simple-loop-unswitch)" -verify-memoryssa -disable-output
22
; PR1333
33

44
define void @pp_cxx_expression() {

0 commit comments

Comments
 (0)