File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change 2
2
// RUN: FileCheck --input-file=%t.cir --check-prefix=CIR %s
3
3
// RUN: %clang_cc1 -std=c++20 -triple x86_64-unknown-linux-gnu -fclangir -emit-llvm %s -o %t.ll
4
4
// RUN: FileCheck --input-file=%t.ll --check-prefix=LLVM %s
5
- // XFAIL: *
6
5
7
6
[[gnu::pure]] int pure_func (int x);
8
7
[[gnu::const ]] int const_func (int x);
@@ -22,5 +21,5 @@ int test(int x) {
22
21
// LLVM: %{{.+}} = call i32 @_Z9pure_funci(i32 %{{.+}}) #[[#meta_pure:]]
23
22
// LLVM: %{{.+}} = call i32 @_Z10const_funci(i32 %{{.+}}) #[[#meta_const:]]
24
23
// LLVM: }
25
- // LLVM: attributes #[[#meta_pure]] = { nounwind willreturn memory(read) }
24
+ // LLVM: attributes #[[#meta_pure]] = { nounwind willreturn memory(read, errnomem: none ) }
26
25
// LLVM: attributes #[[#meta_const]] = { nounwind willreturn memory(none) }
You can’t perform that action at this time.
0 commit comments