Skip to content

Commit fff5b8d

Browse files
committed
[CIR] Fix CIR/IR/invalid.cir and remove XFAIL
1 parent 80d52d7 commit fff5b8d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

clang/test/CIR/IR/invalid.cir

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
// Test attempts to build bogus CIR
22
// RUN: cir-opt %s -verify-diagnostics -split-input-file
3-
// XFAIL: *
43

54
!u32i = !cir.int<u, 32>
65

@@ -1259,7 +1258,7 @@ cir.func @address_space3(%p : !cir.ptr<!u64i, addrspace(target)>) {
12591258
// -----
12601259

12611260
!u64i = !cir.int<u, 64>
1262-
// expected-error@below {{invalid address space kind specification: foobar}}
1261+
// expected-error@below {{expected one of [default, offload_private, offload_local, offload_global, offload_constant, offload_generic, target] for address space kind, got: foobar}}
12631262
// expected-error@below {{expected address space keyword}}
12641263
cir.func @address_space4(%p : !cir.ptr<!u64i, addrspace(foobar)>) {
12651264
cir.return

0 commit comments

Comments
 (0)