Skip to content

Commit

Permalink
test: Fix filecheck output parameters.
Browse files Browse the repository at this point in the history
  • Loading branch information
xlauko committed Sep 17, 2024
1 parent a2ff6db commit 48e6057
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion test/vast/Conversion/bin_chain-a.c
Original file line number Diff line number Diff line change
@@ -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;
Expand Down
2 changes: 1 addition & 1 deletion test/vast/Conversion/cmake-platform-test.c
Original file line number Diff line number Diff line change
@@ -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 <stdint.h>
#undef KEY
Expand Down
14 changes: 7 additions & 7 deletions test/vast/Conversion/signs.c
Original file line number Diff line number Diff line change
@@ -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;
Expand Down

0 comments on commit 48e6057

Please sign in to comment.