[llvm] DAG: Remove dead declaration of ExpandSinCosLibCall (PR #147673)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 9 01:11:47 PDT 2025


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

None

>From 4259e7ba2067593df78a233e21f7cfe6ed01ec04 Mon Sep 17 00:00:00 2001
From: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: Wed, 9 Jul 2025 17:07:32 +0900
Subject: [PATCH] DAG: Remove dead declaration of ExpandSinCosLibCall

---
 llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp | 1 -
 1 file changed, 1 deletion(-)

diff --git a/llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp b/llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
index a48dd0e5fedba..528136a55f14a 100644
--- a/llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
@@ -155,7 +155,6 @@ class SelectionDAGLegalize {
                                    RTLIB::Libcall CallI64,
                                    RTLIB::Libcall CallI128);
   void ExpandDivRemLibCall(SDNode *Node, SmallVectorImpl<SDValue> &Results);
-  void ExpandSinCosLibCall(SDNode *Node, SmallVectorImpl<SDValue> &Results);
 
   SDValue EmitStackConvert(SDValue SrcOp, EVT SlotVT, EVT DestVT,
                            const SDLoc &dl);



More information about the llvm-commits mailing list