From: Roman Lebedev Date: Thu, 8 Dec 2022 21:49:40 +0000 (+0300) Subject: [NFC] Port all Analysis/LazyValueAnalysis tests to `-passes=` syntax X-Git-Tag: upstream/17.0.6~24617 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f374437506927e7a066675d29d87ba4316071ab0;p=platform%2Fupstream%2Fllvm.git [NFC] Port all Analysis/LazyValueAnalysis tests to `-passes=` syntax --- diff --git a/llvm/test/Analysis/LazyValueAnalysis/lvi-after-jumpthreading.ll b/llvm/test/Analysis/LazyValueAnalysis/lvi-after-jumpthreading.ll index cd36a8d..418b575 100644 --- a/llvm/test/Analysis/LazyValueAnalysis/lvi-after-jumpthreading.ll +++ b/llvm/test/Analysis/LazyValueAnalysis/lvi-after-jumpthreading.ll @@ -1,5 +1,5 @@ -; RUN: opt -temporarily-allow-old-pass-syntax < %s -jump-threading -print-lvi-after-jump-threading -disable-output 2>&1 | FileCheck %s -; RUN: opt -temporarily-allow-old-pass-syntax < %s -passes=jump-threading -print-lvi-after-jump-threading -disable-output 2>&1 | FileCheck %s +; RUN: opt < %s -passes=jump-threading -print-lvi-after-jump-threading -disable-output 2>&1 | FileCheck %s +; RUN: opt < %s -passes=jump-threading -print-lvi-after-jump-threading -disable-output 2>&1 | FileCheck %s ; Testing LVI cache after jump-threading diff --git a/llvm/test/Analysis/LazyValueAnalysis/lvi-for-ashr.ll b/llvm/test/Analysis/LazyValueAnalysis/lvi-for-ashr.ll index c7b4065..4b2765c 100644 --- a/llvm/test/Analysis/LazyValueAnalysis/lvi-for-ashr.ll +++ b/llvm/test/Analysis/LazyValueAnalysis/lvi-for-ashr.ll @@ -1,4 +1,4 @@ -; RUN: opt -temporarily-allow-old-pass-syntax -correlated-propagation -S %s | FileCheck %s +; RUN: opt -passes=correlated-propagation -S %s | FileCheck %s ; CHECK-LABEL: @test-ashr ; CHECK: bb_then ; CHECK: %. = select i1 true, i32 3, i32 2