[llvm] [Offload] Fix definition of olMemFill (PR #154947)

via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 22 06:44:27 PDT 2025


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-offload

Author: Callum Fare (callumfare)

<details>
<summary>Changes</summary>

Fix regression introduced by #<!-- -->154102 - the way offload-tblgen handles names has changed

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


1 Files Affected:

- (modified) offload/liboffload/API/Memory.td (+1-2) 


``````````diff
diff --git a/offload/liboffload/API/Memory.td b/offload/liboffload/API/Memory.td
index 2767130575967..cc98b672a26a9 100644
--- a/offload/liboffload/API/Memory.td
+++ b/offload/liboffload/API/Memory.td
@@ -60,8 +60,7 @@ def olMemcpy : Function {
     let returns = [];
 }
 
-def : Function {
-  let name = "olMemFill";
+def olMemFill : Function {
   let desc = "Fill memory with copies of the given pattern";
   let details = [
     "Filling with patterns larger than 4 bytes may be less performant",

``````````

</details>


https://github.com/llvm/llvm-project/pull/154947


More information about the llvm-commits mailing list