[clang] 9bf9ac8 - [CodeGen] Remove unused declaration createNVPTXRuntimeFunction

Kazu Hirata via cfe-commits cfe-commits at lists.llvm.org
Sat Jun 10 21:53:00 PDT 2023


Author: Kazu Hirata
Date: 2023-06-10T21:52:49-07:00
New Revision: 9bf9ac87d6ddf4d956bc2233c75d40b1f0e83f0b

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

LOG: [CodeGen] Remove unused declaration createNVPTXRuntimeFunction

The corresponding definition was removed by:

  commit 3cc1f1fc1d97952136185f4eafb827694875de17
  Author: Joseph Huber <jhuber6 at vols.utk.edu>
  Date:   Thu Oct 8 12:03:11 2020 -0400

Added: 
    

Modified: 
    clang/lib/CodeGen/CGOpenMPRuntimeGPU.h

Removed: 
    


################################################################################
diff  --git a/clang/lib/CodeGen/CGOpenMPRuntimeGPU.h b/clang/lib/CodeGen/CGOpenMPRuntimeGPU.h
index 5ef4ce1cfd093..c4559b3226bcf 100644
--- a/clang/lib/CodeGen/CGOpenMPRuntimeGPU.h
+++ b/clang/lib/CodeGen/CGOpenMPRuntimeGPU.h
@@ -256,12 +256,6 @@ class CGOpenMPRuntimeGPU : public CGOpenMPRuntime {
                      ArrayRef<const Expr *> ReductionOps,
                      ReductionOptionsTy Options) override;
 
-  /// Returns specified OpenMP runtime function for the current OpenMP
-  /// implementation.  Specialized for the NVPTX device.
-  /// \param Function OpenMP runtime function.
-  /// \return Specified function.
-  llvm::FunctionCallee createNVPTXRuntimeFunction(unsigned Function);
-
   /// Translates the native parameter of outlined function if this is required
   /// for target.
   /// \param FD Field decl from captured record for the parameter.


        


More information about the cfe-commits mailing list