[llvm] [AMDGPU][NFC] Function decls no longer required in tests. (PR #96632)

Pravin Jagtap via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 25 06:07:17 PDT 2024


https://github.com/pravinjagtap created https://github.com/llvm/llvm-project/pull/96632

None

>From 2d913fb56e8d8de3379441a11129daae3d83d674 Mon Sep 17 00:00:00 2001
From: Pravin Jagtap <Pravin.Jagtap at amd.com>
Date: Tue, 25 Jun 2024 07:47:19 -0400
Subject: [PATCH] [AMDGPU][NFC] Function decls no longer required in tests.

---
 llvm/test/CodeGen/AMDGPU/global_atomics_iterative_scan.ll | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/llvm/test/CodeGen/AMDGPU/global_atomics_iterative_scan.ll b/llvm/test/CodeGen/AMDGPU/global_atomics_iterative_scan.ll
index 4b4c99b3cd14c..dee2d1f57ae36 100644
--- a/llvm/test/CodeGen/AMDGPU/global_atomics_iterative_scan.ll
+++ b/llvm/test/CodeGen/AMDGPU/global_atomics_iterative_scan.ll
@@ -111,11 +111,6 @@ entry:
   ret void
 }
 
-declare i32 @llvm.amdgcn.workitem.id.x() #1
-declare i32 @llvm.amdgcn.workgroup.id.x() #1
-
-declare align 4 ptr addrspace(4) @llvm.amdgcn.kernarg.segment.ptr()
-
 attributes #0 = {"target-cpu"="gfx906"}
 attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none)}
 



More information about the llvm-commits mailing list