[Mlir-commits] [mlir] [mlir][gpu] Expose some utility functions from `gpu-to-binary` infra (PR #172205)

Ivan Butygin llvmlistbot at llvm.org
Sun Dec 14 04:48:14 PST 2025


================
@@ -98,11 +105,6 @@ class ModuleToObject {
   /// Optimize the module.
   virtual LogicalResult optimizeModule(llvm::Module &module, int optL);
 
-  /// Utility function for translating to ISA, returns `std::nullopt` on
-  /// failure.
-  static std::optional<std::string>
-  translateToISA(llvm::Module &llvmModule, llvm::TargetMachine &targetMachine);
-
----------------
Hardcode84 wrote:

Moved `translateModuleToISA` to static, I think we can keep `assembleIsa` and `linkObjectCode` as free functions as they are already in ROCDL namespace

https://github.com/llvm/llvm-project/pull/172205


More information about the Mlir-commits mailing list