[mlir][FuncToLLVM] Drop llvm.linkage attribute
This commit ensures that all functions produced by `FuncToLLVM` drop the llvm.linkage attribute. Furthermore, it adds a small test that checks if the readnone attribute is preserved. Reviewed By: gysit Differential Revision: https://reviews.llvm.org/D142002
Loading
Please sign in to comment