From 48e6057acefbe907f3b31a37dc05f23f079fb863 Mon Sep 17 00:00:00 2001 From: xlauko Date: Tue, 17 Sep 2024 15:18:05 +0200 Subject: [PATCH] test: Fix filecheck output parameters. --- test/vast/Conversion/bin_chain-a.c | 2 +- test/vast/Conversion/cmake-platform-test.c | 2 +- test/vast/Conversion/signs.c | 14 +++++++------- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/test/vast/Conversion/bin_chain-a.c b/test/vast/Conversion/bin_chain-a.c index 10ed8311ea..02010d59fb 100644 --- a/test/vast/Conversion/bin_chain-a.c +++ b/test/vast/Conversion/bin_chain-a.c @@ -1,4 +1,4 @@ -// RUN: %vast-front -vast-emit-mlir=llvm %s -o - %s | %file-check %s +// RUN: %vast-front -vast-emit-mlir=llvm %s -o - | %file-check %s int main() { int a = 5; diff --git a/test/vast/Conversion/cmake-platform-test.c b/test/vast/Conversion/cmake-platform-test.c index 7b56953a73..725f2c8a74 100644 --- a/test/vast/Conversion/cmake-platform-test.c +++ b/test/vast/Conversion/cmake-platform-test.c @@ -1,4 +1,4 @@ -// RUN: %vast-front -vast-emit-mlir=llvm %s -o - %s | %file-check %s +// RUN: %vast-front -vast-emit-mlir=llvm %s -o - | %file-check %s #include #undef KEY diff --git a/test/vast/Conversion/signs.c b/test/vast/Conversion/signs.c index 5af35a43ee..82a4a509d4 100644 --- a/test/vast/Conversion/signs.c +++ b/test/vast/Conversion/signs.c @@ -1,13 +1,13 @@ -// RUN: %vast-front -vast-emit-mlir=llvm %s -o - %s | %file-check %s +// RUN: %vast-front -vast-emit-mlir=llvm %s -o - | %file-check %s int main() { int a = 5; - // CHECK: {{.* = llvm.load.*}} - // CHECK-NEXT: {{.* = llvm.mlir.constant.*}} - // CHECK-NEXT: {{.* = llvm.sub.*}} - // CHECK-NEXT: {{.*llvm.store.*}} - // CHECK: {{.* = llvm.load.*}} - // CHECK-NEXT: {{.*llvm.store.*}} + // CHECK: llvm.load + // CHECK-NEXT: llvm.mlir.constant + // CHECK-NEXT: llvm.sub + // CHECK-NEXT: llvm.store + // CHECK: llvm.load + // CHECK-NEXT: llvm.store int b = -a; int c = +a; return 0;