[llvm] bc360fd - [AMDGPU] Remove unused declarations fold_exp* and fold_log* (NFC)

Kazu Hirata via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 31 16:50:24 PST 2021


Author: Kazu Hirata
Date: 2021-12-31T16:50:18-08:00
New Revision: bc360fd83a87a461cb7f90b54d00b5e99510424f

URL: https://github.com/llvm/llvm-project/commit/bc360fd83a87a461cb7f90b54d00b5e99510424f
DIFF: https://github.com/llvm/llvm-project/commit/bc360fd83a87a461cb7f90b54d00b5e99510424f.diff

LOG: [AMDGPU] Remove unused declarations fold_exp* and fold_log* (NFC)

Added: 
    

Modified: 
    llvm/lib/Target/AMDGPU/AMDGPULibCalls.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Target/AMDGPU/AMDGPULibCalls.cpp b/llvm/lib/Target/AMDGPU/AMDGPULibCalls.cpp
index 0e1bb3305b2d..c28427758ac7 100644
--- a/llvm/lib/Target/AMDGPU/AMDGPULibCalls.cpp
+++ b/llvm/lib/Target/AMDGPU/AMDGPULibCalls.cpp
@@ -87,24 +87,6 @@ class AMDGPULibCalls {
     double& Res1, Constant *copr0, Constant *copr1, Constant *copr2);
   bool evaluateCall(CallInst *aCI, const FuncInfo &FInfo);
 
-  // exp
-  bool fold_exp(CallInst *CI, IRBuilder<> &B, const FuncInfo &FInfo);
-
-  // exp2
-  bool fold_exp2(CallInst *CI, IRBuilder<> &B, const FuncInfo &FInfo);
-
-  // exp10
-  bool fold_exp10(CallInst *CI, IRBuilder<> &B, const FuncInfo &FInfo);
-
-  // log
-  bool fold_log(CallInst *CI, IRBuilder<> &B, const FuncInfo &FInfo);
-
-  // log2
-  bool fold_log2(CallInst *CI, IRBuilder<> &B, const FuncInfo &FInfo);
-
-  // log10
-  bool fold_log10(CallInst *CI, IRBuilder<> &B, const FuncInfo &FInfo);
-
   // sqrt
   bool fold_sqrt(CallInst *CI, IRBuilder<> &B, const FuncInfo &FInfo);
 


        


More information about the llvm-commits mailing list