[all-commits] [llvm/llvm-project] 419c45: [mlir][gpu] Fix crash in `gpu-module-to-binary` (#...
Fabian Mora via All-commits
all-commits at lists.llvm.org
Thu Dec 14 11:03:23 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 419c45a3252489d0ebac4535fe5a4ed9a6af6bbd
https://github.com/llvm/llvm-project/commit/419c45a3252489d0ebac4535fe5a4ed9a6af6bbd
Author: Fabian Mora <fmora.dev at gmail.com>
Date: 2023-12-14 (Thu, 14 Dec 2023)
Changed paths:
M mlir/lib/Dialect/GPU/Transforms/ModuleToBinary.cpp
A mlir/test/Dialect/GPU/module-to-binary-invalid.mlir
Log Message:
-----------
[mlir][gpu] Fix crash in `gpu-module-to-binary` (#75477)
This patch fixes the error in issue #75434. The crash was being caused
by not checking for a lack of target attributes in a GPU module. It's
now considered an error to invoke the pass with a GPU module with no
target attributes.
More information about the All-commits
mailing list