From fe9330618760cb84d565453c67a7f077863585dd Mon Sep 17 00:00:00 2001 From: Roman Lebedev Date: Thu, 8 Dec 2022 02:27:34 +0300 Subject: [PATCH] [NFC] Port all PartiallyInlineLibCalls tests to `-passes=` syntax --- llvm/test/Transforms/PartiallyInlineLibCalls/X86/good-prototype.ll | 2 +- llvm/test/Transforms/PartiallyInlineLibCalls/X86/musttail.ll | 2 +- llvm/test/Transforms/PartiallyInlineLibCalls/bad-prototype.ll | 2 +- llvm/test/Transforms/PartiallyInlineLibCalls/nobuiltin.ll | 2 +- llvm/test/Transforms/PartiallyInlineLibCalls/strictfp.ll | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/llvm/test/Transforms/PartiallyInlineLibCalls/X86/good-prototype.ll b/llvm/test/Transforms/PartiallyInlineLibCalls/X86/good-prototype.ll index 964ce83..d9deac9 100644 --- a/llvm/test/Transforms/PartiallyInlineLibCalls/X86/good-prototype.ll +++ b/llvm/test/Transforms/PartiallyInlineLibCalls/X86/good-prototype.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -S -partially-inline-libcalls -mtriple=x86_64-unknown-linux-gnu < %s | FileCheck %s +; RUN: opt -S -passes=partially-inline-libcalls -mtriple=x86_64-unknown-linux-gnu < %s | FileCheck %s ; RUN: opt -S -passes=partially-inline-libcalls -mtriple=x86_64-unknown-linux-gnu < %s | FileCheck %s define float @f(float %val) { diff --git a/llvm/test/Transforms/PartiallyInlineLibCalls/X86/musttail.ll b/llvm/test/Transforms/PartiallyInlineLibCalls/X86/musttail.ll index 6f4dd91..96045ac 100644 --- a/llvm/test/Transforms/PartiallyInlineLibCalls/X86/musttail.ll +++ b/llvm/test/Transforms/PartiallyInlineLibCalls/X86/musttail.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -S -partially-inline-libcalls -mtriple=x86_64-unknown-linux-gnu < %s | FileCheck %s +; RUN: opt -S -passes=partially-inline-libcalls -mtriple=x86_64-unknown-linux-gnu < %s | FileCheck %s ; RUN: opt -S -passes=partially-inline-libcalls -mtriple=x86_64-unknown-linux-gnu < %s | FileCheck %s define double @foo(double %x) { diff --git a/llvm/test/Transforms/PartiallyInlineLibCalls/bad-prototype.ll b/llvm/test/Transforms/PartiallyInlineLibCalls/bad-prototype.ll index 78c192e..a2002ba 100644 --- a/llvm/test/Transforms/PartiallyInlineLibCalls/bad-prototype.ll +++ b/llvm/test/Transforms/PartiallyInlineLibCalls/bad-prototype.ll @@ -1,4 +1,4 @@ -; RUN: opt -S -partially-inline-libcalls < %s | FileCheck %s +; RUN: opt -S -passes=partially-inline-libcalls < %s | FileCheck %s ; RUN: opt -S -passes=partially-inline-libcalls < %s | FileCheck %s target triple = "x86_64-unknown-linux-gnu" diff --git a/llvm/test/Transforms/PartiallyInlineLibCalls/nobuiltin.ll b/llvm/test/Transforms/PartiallyInlineLibCalls/nobuiltin.ll index c648ce0..d1f05d64 100644 --- a/llvm/test/Transforms/PartiallyInlineLibCalls/nobuiltin.ll +++ b/llvm/test/Transforms/PartiallyInlineLibCalls/nobuiltin.ll @@ -1,4 +1,4 @@ -; RUN: opt -S -partially-inline-libcalls -mtriple=x86_64-unknown-linux-gnu < %s | FileCheck %s +; RUN: opt -S -passes=partially-inline-libcalls -mtriple=x86_64-unknown-linux-gnu < %s | FileCheck %s ; RUN: opt -S -passes=partially-inline-libcalls -mtriple=x86_64-unknown-linux-gnu < %s | FileCheck %s define float @f(float %val) { diff --git a/llvm/test/Transforms/PartiallyInlineLibCalls/strictfp.ll b/llvm/test/Transforms/PartiallyInlineLibCalls/strictfp.ll index b4c5f60..2eb302f 100644 --- a/llvm/test/Transforms/PartiallyInlineLibCalls/strictfp.ll +++ b/llvm/test/Transforms/PartiallyInlineLibCalls/strictfp.ll @@ -1,4 +1,4 @@ -; RUN: opt -S -partially-inline-libcalls -mtriple=x86_64-unknown-linux-gnu < %s | FileCheck %s +; RUN: opt -S -passes=partially-inline-libcalls -mtriple=x86_64-unknown-linux-gnu < %s | FileCheck %s ; RUN: opt -S -passes=partially-inline-libcalls -mtriple=x86_64-unknown-linux-gnu < %s | FileCheck %s define float @f(float %val) strictfp { -- 2.7.4