llvm-project
94647eea - [mlir][spirv] Remove destroyed values from ValueIDMap (#164098)

Commit
97 days ago
[mlir][spirv] Remove destroyed values from ValueIDMap (#164098) When serializing SPIR-V MLIR containing externally linked function with debug enabled, the serialization crashes as `printValueIDMap` tries to print a key value that has been already destroyed. This happen as for externally linked function the body of the function is erased, that causes arguments to be destroyed as well, but the valueIDMap was never updated.
Author
Parents
Loading