[llvm] [RemoveDIs] Print non-intrinsic debug info in textual IR output (PR #79281)

via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 24 06:33:37 PST 2024


phyBrackets wrote:

> Why is the syntax `#dbg_value {}` rather than `#dbg_value()`? The arguments are positional, right?

Seems to be mentioned that using curly braces {} instead of parentheses () makes the debug information stand out more clearly from regular instruction syntax. And I think even the argument are positional, curly braces can still effectively encapsulate them 🤔

https://github.com/llvm/llvm-project/pull/79281


More information about the llvm-commits mailing list