Skip to content

Commit

Permalink
test: Move atomic expr test from unsup to hl.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jezurko committed Nov 7, 2024
1 parent 754faa3 commit 92f3849
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// RUN: %vast-front %s -vast-emit-mlir=hl -o - > %t && %vast-opt %t | diff -B %t -

int load(int* p) {
// CHECK: unsup.stmt "AtomicExpr"
// CHECK: hl.atomic_expr "__atomic_load_n" : !hl.int
// CHECK: hl.ref @p
// CHECK: hl.const #core.integer<5>
int q = __atomic_load_n (p, __ATOMIC_SEQ_CST);
Expand Down

0 comments on commit 92f3849

Please sign in to comment.