[Mlir-commits] [mlir] [GPU] ASAN failure due to use of erased operation (PR #116816)
Prashant Kumar
llvmlistbot at llvm.org
Tue Nov 19 07:54:00 PST 2024
pashu123 wrote:
@joker-eph @ftynse Do you know how to add tests for this? https://github.com/llvm/llvm-project/blob/de6d1683d4163a384ce529bf9bd70bb9bcd16a41/mlir/test/Dialect/GPU/transform-gpu.mlir#L239 `transform.gpu.map_nested_forall_to_threads` always expect a `gpu.launch` op. The problem happens when we directly use https://github.com/llvm/llvm-project/blob/740af37300ec20d92be878af2ef0f0013c5a3636/mlir/lib/Dialect/GPU/TransformOps/GPUTransformOps.cpp#L846 without the check.
https://github.com/llvm/llvm-project/pull/116816
More information about the Mlir-commits
mailing list