llvmorg-github-actions[bot] wrote:

<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-clangir

Author: Jan Leyonberg (jsjodin)

<details>
<summary>Changes</summary>

This patch fixes the test broken by #<!-- -->218453.

---
Full diff: https://github.com/llvm/llvm-project/pull/232840.diff


1 Files Affected:

- (modified) clang/test/CIR/CodeGenOpenMP/omp-llvmir.c (+2-2) 


``````````diff
diff --git a/clang/test/CIR/CodeGenOpenMP/omp-llvmir.c 
b/clang/test/CIR/CodeGenOpenMP/omp-llvmir.c
index 98f4caf8539935..383c3b483a5051 100644
--- a/clang/test/CIR/CodeGenOpenMP/omp-llvmir.c
+++ b/clang/test/CIR/CodeGenOpenMP/omp-llvmir.c
@@ -58,7 +58,7 @@
 // LLVM: %[[LOAD:.*]] = load i32, ptr %[[RETVAL]], align 4
 // LLVM: ret i32 %[[LOAD]]
 
-// LLVM-LABEL: define internal void @main..omp_par(ptr noalias %{{.*}}, ptr 
noalias %{{.*}}, ptr %{{.*}})
+// LLVM-LABEL: define internal void @main..omp_par(ptr noalias %{{.*}}, ptr 
noalias %{{.*}}, ptr noalias nofreeobj %{{.*}})
 // LLVM: [[PAR_ENTRY:.*]]:
 // LLVM: %[[GEP_J:.*]] = getelementptr { ptr }, ptr %{{.*}}, i32 0, i32 0
 // LLVM: %[[LOAD_J:.*]] = load ptr, ptr %[[GEP_J]], align 8
@@ -123,7 +123,7 @@
 // OGCG: call void (ptr, i32, ptr, ...) @__kmpc_fork_call(ptr @1, i32 1, ptr 
@main.omp_outlined, ptr %[[J]])
 // OGCG: ret i32 0
 
-// OGCG-LABEL: define internal void @main.omp_outlined(ptr noalias noundef 
%{{.*}}, ptr noalias noundef %{{.*}}, ptr noundef nonnull align 4 
dereferenceable(4) %{{.*}})
+// OGCG-LABEL: define internal void @main.omp_outlined(ptr noalias noundef 
%{{.*}}, ptr noalias noundef %{{.*}}, ptr nofreeobj noundef nonnull align 4 
dereferenceable(4) %{{.*}})
 // OGCG: [[OUTLINED_ENTRY:.*]]:
 // OGCG: %[[GLOBAL_TID_ADDR:.*]] = alloca ptr, align 8
 // OGCG: %[[BOUND_TID_ADDR:.*]] = alloca ptr, align 8

``````````

</details>


https://github.com/llvm/llvm-project/pull/232840
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to