[llvm] [NFC][InstrInfoEmitter] Include location of inst definition in comment (PR #156927)
Rahul Joshi via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 4 13:01:30 PDT 2025
jurahul wrote:
> > I've never had much trouble finding instructions with grep on the targets I've worked on, but maybe other targets are worse? It's digging the classes and multiclasses needed to understand an instruction that I usually struggle with.
>
> I do `llvm-tblgen -I llvm/include -I llvm/lib/Target/SomeTarget SomeTarget.td` if I need to know something specific about an instruction.
Right, though not all folks may be familiar with this and its easier and more readily available if its right there.
> it's digging the classes and multiclasses needed to understand an instruction that I usually struggle with.
+1, esp if these are auto-generated (which I am sure a lot of downstream backends do).
https://github.com/llvm/llvm-project/pull/156927
More information about the llvm-commits
mailing list