[llvm] RuntimeLibcalls: Remove unused variable for atomic libcalls (PR #148599)

via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 14 03:00:21 PDT 2025


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-llvm-ir

Author: Matt Arsenault (arsenm)

<details>
<summary>Changes</summary>

This was obsoleted by ed1ee9a9bf6deb5ec147e79a156e2f8d9465616d

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


1 Files Affected:

- (modified) llvm/include/llvm/IR/RuntimeLibcalls.td (-4) 


``````````diff
diff --git a/llvm/include/llvm/IR/RuntimeLibcalls.td b/llvm/include/llvm/IR/RuntimeLibcalls.td
index 4ad6689691f8e..cb81949d1324f 100644
--- a/llvm/include/llvm/IR/RuntimeLibcalls.td
+++ b/llvm/include/llvm/IR/RuntimeLibcalls.td
@@ -1061,10 +1061,6 @@ defvar DefaultRuntimeLibcallImpls =
                     DefaultRuntimeLibcallImpls_f80),
                     DefaultRuntimeLibcallImpls_ppcf128);
 
-defvar DefaultRuntimeLibcallImpls_atomic =
-    !filter(entry, DefaultRuntimeLibcallImpls,
-            !match(!cast<string>(entry.Provides), "ATOMIC"));
-
 /// Default set of libcall impls for 32-bit architectures.
 defvar DefaultLibcallImpls32 = DefaultRuntimeLibcallImpls;
 

``````````

</details>


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


More information about the llvm-commits mailing list