From: Roman Lebedev Date: Thu, 8 Dec 2022 23:04:06 +0000 (+0300) Subject: [NFC] Port last few Other tests to `-passes=` syntax X-Git-Tag: upstream/17.0.6~24591 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4dd6a3f61101d5cbe892aac3608e5ed4389ee6ef;p=platform%2Fupstream%2Fllvm.git [NFC] Port last few Other tests to `-passes=` syntax --- diff --git a/llvm/test/Other/opt-On.ll b/llvm/test/Other/opt-On.ll index ffd785ade744..49f2d9d10dee 100644 --- a/llvm/test/Other/opt-On.ll +++ b/llvm/test/Other/opt-On.ll @@ -1,6 +1,6 @@ ; RUN: not opt -O1 -O2 < %s 2>&1 | FileCheck %s --check-prefix=MULTIPLE ; RUN: not opt -O1 -passes='no-op-module' < %s 2>&1 | FileCheck %s --check-prefix=BOTH -; RUN: not opt -O1 --gvn < %s 2>&1 | FileCheck %s --check-prefix=BOTH +; RUN: not opt -O1 -passes=gvn < %s 2>&1 | FileCheck %s --check-prefix=BOTH ; RUN: opt -O0 < %s -S 2>&1 | FileCheck %s --check-prefix=OPT ; RUN: opt -O1 < %s -S 2>&1 | FileCheck %s --check-prefix=OPT ; RUN: opt -O2 < %s -S 2>&1 | FileCheck %s --check-prefix=OPT diff --git a/llvm/test/Other/scalable-vector-array.ll b/llvm/test/Other/scalable-vector-array.ll index b5c7e90d792b..4119bb6953b4 100644 --- a/llvm/test/Other/scalable-vector-array.ll +++ b/llvm/test/Other/scalable-vector-array.ll @@ -1,4 +1,4 @@ -; RUN: not opt -S -verify < %s 2>&1 | FileCheck %s +; RUN: not opt -S -passes=verify < %s 2>&1 | FileCheck %s ;; Arrays cannot contain scalable vectors; make sure we detect them even ;; when nested inside other aggregates.