llvmbot wrote:

<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-clang

Author: Akimasa Watanuki (Men-cotton)

<details>
<summary>Changes</summary>

Update `clang/test/CIR/CodeGen/clear-cache.c` to match the overloaded 
`llvm.clear_cache.p0` intrinsic spelling introduced by #<!-- -->189283.

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


1 Files Affected:

- (modified) clang/test/CIR/CodeGen/clear-cache.c (+3-3) 


``````````diff
diff --git a/clang/test/CIR/CodeGen/clear-cache.c 
b/clang/test/CIR/CodeGen/clear-cache.c
index bf13985c231be..63db14e025185 100644
--- a/clang/test/CIR/CodeGen/clear-cache.c
+++ b/clang/test/CIR/CodeGen/clear-cache.c
@@ -7,7 +7,7 @@
 
 char buffer[32] = "This is a largely unused buffer";
 
-// __builtin___clear_cache always maps to @llvm.clear_cache, but what
+// __builtin___clear_cache always maps to @llvm.clear_cache.p0, but what
 // each back-end produces is different, and this is tested in LLVM
 
 // CIR-LABEL: main
@@ -22,10 +22,10 @@ char buffer[32] = "This is a largely unused buffer";
 // CIR:  cir.clear_cache %[[VAL_3]], %[[VAL_8]] : !cir.ptr<!void>
 
 // LLVM-LABEL: main
-// LLVM:  call void @llvm.clear_cache(ptr @buffer, ptr getelementptr inbounds 
nuw (i8, ptr @buffer, i64 32))
+// LLVM:  call void @llvm.clear_cache.p0(ptr @buffer, ptr getelementptr 
inbounds nuw (i8, ptr @buffer, i64 32))
 
 // OGCG-LABEL: main
-// OGCG:  call void @llvm.clear_cache(ptr @buffer, ptr getelementptr inbounds 
nuw (i8, ptr @buffer, i64 32))
+// OGCG:  call void @llvm.clear_cache.p0(ptr @buffer, ptr getelementptr 
inbounds nuw (i8, ptr @buffer, i64 32))
 
 int main(void) {
   __builtin___clear_cache(buffer, buffer + 32);

``````````

</details>


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

Reply via email to