arsenm wrote: This pass isn't going to be very discoverable. I usually notice this when the attributes aren't auto-added to the declaration. Could we instead just make the asm printer add a comment? https://github.com/llvm/llvm-project/pull/145985