[compiler-rt] a1b8d9f - [test] Change -lowertypetests tests to use -passes=
Fangrui Song via llvm-commits
llvm-commits at lists.llvm.org
Sun Jul 17 21:33:06 PDT 2022
Author: Fangrui Song
Date: 2022-07-17T21:33:02-07:00
New Revision: a1b8d9fb75c887f6178756d41c041e2e1342a810
URL: https://github.com/llvm/llvm-project/commit/a1b8d9fb75c887f6178756d41c041e2e1342a810
DIFF: https://github.com/llvm/llvm-project/commit/a1b8d9fb75c887f6178756d41c041e2e1342a810.diff
LOG: [test] Change -lowertypetests tests to use -passes=
Added:
Modified:
compiler-rt/test/cfi/create-derivers.test
Removed:
################################################################################
diff --git a/compiler-rt/test/cfi/create-derivers.test b/compiler-rt/test/cfi/create-derivers.test
index b651d9be6bd97..377bbe994ff40 100644
--- a/compiler-rt/test/cfi/create-derivers.test
+++ b/compiler-rt/test/cfi/create-derivers.test
@@ -2,20 +2,20 @@ REQUIRES: asserts
%% Explicit -flto to override possible -flto=thin in %clangxx_cfi
RUN: %clangxx_cfi -flto -c -o %t1.o %S/simple-fail.cpp
-RUN: opt -lowertypetests -debug-only=lowertypetests -o /dev/null %t1.o 2>&1 | FileCheck --check-prefix=B0 %s
+RUN: opt -passes=lowertypetests -debug-only=lowertypetests -o /dev/null %t1.o 2>&1 | FileCheck --check-prefix=B0 %s
B0: {{1B|B@@}}: {{.*}} size 1
RUN: %clangxx_cfi -DB32 -flto -c -o %t2.o %S/simple-fail.cpp
-RUN: opt -lowertypetests -debug-only=lowertypetests -o /dev/null %t2.o 2>&1 | FileCheck --check-prefix=B32 %s
+RUN: opt -passes=lowertypetests -debug-only=lowertypetests -o /dev/null %t2.o 2>&1 | FileCheck --check-prefix=B32 %s
B32: {{1B|B@@}}: {{.*}} size 2{{3|4}}
B32-NOT: all-ones
RUN: %clangxx_cfi -DB64 -flto -c -o %t3.o %S/simple-fail.cpp
-RUN: opt -lowertypetests -debug-only=lowertypetests -o /dev/null %t3.o 2>&1 | FileCheck --check-prefix=B64 %s
+RUN: opt -passes=lowertypetests -debug-only=lowertypetests -o /dev/null %t3.o 2>&1 | FileCheck --check-prefix=B64 %s
B64: {{1B|B@@}}: {{.*}} size 5{{3|4}}
B64-NOT: all-ones
RUN: %clangxx_cfi -DBM -flto -c -o %t4.o %S/simple-fail.cpp
-RUN: opt -lowertypetests -debug-only=lowertypetests -o /dev/null %t4.o 2>&1 | FileCheck --check-prefix=BM %s
+RUN: opt -passes=lowertypetests -debug-only=lowertypetests -o /dev/null %t4.o 2>&1 | FileCheck --check-prefix=BM %s
BM: {{1B|B@@}}: {{.*}} size 8{{3|4}}
BM-NOT: all-ones
More information about the llvm-commits
mailing list