Commit 740af37
committed
[GPU] ASAN failure due to use of erased operation
If the target op is an scf.forall op which is erased by
`rewriteOneForallCommonImpl` method it leads to asan failure since it's
used later by `replaceUnitMappingIdsHelper` fn.
Follows the same philosophy as done here:
https://github.com/llvm/llvm-project/blob/aff98e4be05a1060e489ce62a88ee0ff365e571a/mlir/lib/Dialect/GPU/TransformOps/GPUTransformOps.cpp#L599
and later passed to the same method here:
https://github.com/llvm/llvm-project/blob/aff98e4be05a1060e489ce62a88ee0ff365e571a/mlir/lib/Dialect/GPU/TransformOps/GPUTransformOps.cpp#L6291 parent aff98e4 commit 740af37
1 file changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
853 | 853 | | |
854 | 854 | | |
855 | 855 | | |
| 856 | + | |
| 857 | + | |
856 | 858 | | |
857 | 859 | | |
858 | 860 | | |
| |||
872 | 874 | | |
873 | 875 | | |
874 | 876 | | |
875 | | - | |
| 877 | + | |
876 | 878 | | |
877 | 879 | | |
878 | 880 | | |
| |||
0 commit comments