Updates LLVM usage to match
[8c5d9c79b96e](https://github.com/llvm/llvm-project/commit/8c5d9c79b96e)

PiperOrigin-RevId: 642352474
This commit is contained in:
jax authors 2024-06-11 12:23:56 -07:00 committed by jax authors
parent 2f749dbe39
commit d20b9e324f

View File

@ -56,8 +56,7 @@ class ConvertGpuToLLVMPass
converter.isLegal(op->getResultTypes());
});
auto symtab = mlir::SymbolTable(getOperation());
mlir::populateGpuToLLVMConversionPatterns(converter, patterns, "gpu.binary",
false, &symtab);
mlir::populateGpuToLLVMConversionPatterns(converter, patterns, false);
if (mlir::applyPartialConversion(getOperation(), target,
std::move(patterns))
.failed()) {
@ -75,4 +74,4 @@ void registerConvertGpuToLLVMPass() {
}
} // namespace gpu
} // namespace mosaic
} // namespace mosaic