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

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 14 02:59:41 PDT 2025


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

This was obsoleted by ed1ee9a9bf6deb5ec147e79a156e2f8d9465616d

>From 5a04f2e2c8e185385e9f9f1a0ac21cefc2c6ccb4 Mon Sep 17 00:00:00 2001
From: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: Mon, 14 Jul 2025 16:24:44 +0900
Subject: [PATCH] RuntimeLibcalls: Remove unused variable for atomic libcalls

This was obsoleted by ed1ee9a9bf6deb5ec147e79a156e2f8d9465616d
---
 llvm/include/llvm/IR/RuntimeLibcalls.td | 4 ----
 1 file changed, 4 deletions(-)

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;
 



More information about the llvm-commits mailing list