[Backend] Rewrite code for linking external library to expose more inlining opportunities (#1037)

- Also make it cleaner. 
- And mark out the code needs to be fixed in `semantic.py`.
This commit is contained in:
Keren Zhou
2023-01-08 16:44:29 -05:00
committed by GitHub
parent ff399fbc20
commit 733301ff31
4 changed files with 129 additions and 118 deletions

View File

@@ -31,8 +31,6 @@ translateTritonGPUToLLVMIR(llvm::LLVMContext *llvmContext,
std::unique_ptr<llvm::Module>
translateLLVMToLLVMIR(llvm::LLVMContext *llvmContext, mlir::ModuleOp module);
bool linkExternLib(llvm::Module &module, llvm::StringRef path);
} // namespace triton
} // namespace mlir