From 4d16d036f7d71b87857aa54c0f116617c4c53c12 Mon Sep 17 00:00:00 2001 From: Roman Lebedev Date: Thu, 8 Dec 2022 02:27:21 +0300 Subject: [PATCH] [NFC] Port all GVNHoist tests to `-passes=` syntax --- llvm/test/Transforms/GVNHoist/hoist-pr28933.ll | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/llvm/test/Transforms/GVNHoist/hoist-pr28933.ll b/llvm/test/Transforms/GVNHoist/hoist-pr28933.ll index eb77676..749ada7 100644 --- a/llvm/test/Transforms/GVNHoist/hoist-pr28933.ll +++ b/llvm/test/Transforms/GVNHoist/hoist-pr28933.ll @@ -1,11 +1,11 @@ -; RUN: opt -S -gvn-hoist -verify-memoryssa -newgvn < %s | FileCheck %s +; RUN: opt -S -passes=gvn-hoist,newgvn -verify-memoryssa < %s | FileCheck %s ; Check that we end up with one load and one store, in the right order ; CHECK-LABEL: define void @test_it( ; CHECK: store ; CHECK-NOT: store ; CHECK-NOT: load - + %rec894.0.1.2.3.12 = type { i16 } @a = external global %rec894.0.1.2.3.12 -- 2.7.4