CoTinker wrote: Error message is here. https://github.com/llvm/llvm-project/blob/57d109c4c93c8cf2d7ff9e5877a48152ed7a617a/mlir/lib/Transforms/RemoveDeadValues.cpp#L578-L592 https://github.com/llvm/llvm-project/pull/112199