[llvm] 394a34b - [NFC] Port all CrossDSOCFI tests to `-passes=` syntax
Roman Lebedev via llvm-commits
llvm-commits at lists.llvm.org
Wed Dec 7 15:39:27 PST 2022
Author: Roman Lebedev
Date: 2022-12-08T02:38:41+03:00
New Revision: 394a34b46c1fce03783984c3d5b3bfc906d38f22
URL: https://github.com/llvm/llvm-project/commit/394a34b46c1fce03783984c3d5b3bfc906d38f22
DIFF: https://github.com/llvm/llvm-project/commit/394a34b46c1fce03783984c3d5b3bfc906d38f22.diff
LOG: [NFC] Port all CrossDSOCFI tests to `-passes=` syntax
Added:
Modified:
llvm/test/Transforms/CrossDSOCFI/basic.ll
llvm/test/Transforms/CrossDSOCFI/cfi_functions.ll
llvm/test/Transforms/CrossDSOCFI/thumb.ll
Removed:
################################################################################
diff --git a/llvm/test/Transforms/CrossDSOCFI/basic.ll b/llvm/test/Transforms/CrossDSOCFI/basic.ll
index 31ce15c04c3e5..d04af6c43d9c2 100644
--- a/llvm/test/Transforms/CrossDSOCFI/basic.ll
+++ b/llvm/test/Transforms/CrossDSOCFI/basic.ll
@@ -1,4 +1,4 @@
-; RUN: opt -S -cross-dso-cfi < %s | FileCheck %s
+; RUN: opt -S -passes=cross-dso-cfi < %s | FileCheck %s
; RUN: opt -S -passes=cross-dso-cfi < %s | FileCheck %s
; CHECK: define void @__cfi_check(i64 %[[TYPE:.*]], i8* %[[ADDR:.*]], i8* %[[DATA:.*]]) align 4096
diff --git a/llvm/test/Transforms/CrossDSOCFI/cfi_functions.ll b/llvm/test/Transforms/CrossDSOCFI/cfi_functions.ll
index ccbde51b2115c..a7f6e9d332ecd 100644
--- a/llvm/test/Transforms/CrossDSOCFI/cfi_functions.ll
+++ b/llvm/test/Transforms/CrossDSOCFI/cfi_functions.ll
@@ -1,5 +1,5 @@
; Test that types referenced in ThinLTO-style !cfi.functions are known to __cfi_check.
-; RUN: opt -S -cross-dso-cfi < %s | FileCheck %s
+; RUN: opt -S -passes=cross-dso-cfi < %s | FileCheck %s
; RUN: opt -S -passes=cross-dso-cfi < %s | FileCheck %s
; CHECK: define void @__cfi_check(
diff --git a/llvm/test/Transforms/CrossDSOCFI/thumb.ll b/llvm/test/Transforms/CrossDSOCFI/thumb.ll
index c716d554a2721..3a8cdeb070432 100644
--- a/llvm/test/Transforms/CrossDSOCFI/thumb.ll
+++ b/llvm/test/Transforms/CrossDSOCFI/thumb.ll
@@ -1,7 +1,7 @@
-; RUN: opt -mtriple=armv7-linux-android -S -cross-dso-cfi < %s | FileCheck --check-prefix=THUMB %s
-; RUN: opt -mtriple=thumbv7-linux-android -S -cross-dso-cfi < %s | FileCheck --check-prefix=THUMB %s
-; RUN: opt -mtriple=i386-linux -S -cross-dso-cfi < %s | FileCheck --check-prefix=NOTHUMB %s
-; RUN: opt -mtriple=x86_64-linux -S -cross-dso-cfi < %s | FileCheck --check-prefix=NOTHUMB %s
+; RUN: opt -mtriple=armv7-linux-android -S -passes=cross-dso-cfi < %s | FileCheck --check-prefix=THUMB %s
+; RUN: opt -mtriple=thumbv7-linux-android -S -passes=cross-dso-cfi < %s | FileCheck --check-prefix=THUMB %s
+; RUN: opt -mtriple=i386-linux -S -passes=cross-dso-cfi < %s | FileCheck --check-prefix=NOTHUMB %s
+; RUN: opt -mtriple=x86_64-linux -S -passes=cross-dso-cfi < %s | FileCheck --check-prefix=NOTHUMB %s
target datalayout = "e-m:e-p:32:32-i64:64-v128:64:128-a:0:32-n32-S64"
More information about the llvm-commits
mailing list