From: Roman Lebedev Date: Wed, 7 Dec 2022 23:27:21 +0000 (+0300) Subject: [NFC] Port all GVNHoist tests to `-passes=` syntax X-Git-Tag: upstream/17.0.6~24837 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4d16d036f7d71b87857aa54c0f116617c4c53c12;p=platform%2Fupstream%2Fllvm.git [NFC] Port all GVNHoist tests to `-passes=` syntax --- 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