[PATCH] D156429: [TableGen] Add new bang operator !format
Michael Maitland via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 7 12:49:21 PDT 2023
michaelmaitland added a comment.
In D156429#4567002 <https://reviews.llvm.org/D156429#4567002>, @tra wrote:
> Do we really need it at all?
>
> Are there other use cases for it besides `!dump()` in D156420 <https://reviews.llvm.org/D156420> ?
>
> Can we just implement some sort or `!repr(value)` to give us textual representation of the value and then just do `"some string" # !repr(some_value) # "some other string"` ? That would be sufficient for debugging purposes.
Here is a proposed use: https://reviews.llvm.org/D156432
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D156429/new/
https://reviews.llvm.org/D156429
More information about the llvm-commits
mailing list