[NFC] Port all GVNHoist tests to `-passes=` syntax
authorRoman Lebedev <lebedev.ri@gmail.com>
Wed, 7 Dec 2022 23:27:21 +0000 (02:27 +0300)
committerRoman Lebedev <lebedev.ri@gmail.com>
Wed, 7 Dec 2022 23:38:43 +0000 (02:38 +0300)
llvm/test/Transforms/GVNHoist/hoist-pr28933.ll

index eb77676..749ada7 100644 (file)
@@ -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