[Mlir-commits] [mlir] [mlir][LLVMIR] Handle anonymous TBAA roots during metadata emission (PR #169167)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Mon Nov 24 08:37:51 PST 2025
Men-cotton wrote:
Thanks for reviewing, @gysit !
You are right about the LangRef description. However, I noticed that `llvm::MDBuilder::createAnonymousTBAARoot` creates a self-referencing distinct node, and the verifier seems to accept it.
My implementation matches that pattern to be consistent with how LLVM typically builds anonymous roots. That said, if you prefer to strictly follow the LangRef text (using `distinct !{}`), I am happy to switch to that.
https://github.com/llvm/llvm-project/pull/169167
More information about the Mlir-commits
mailing list