[PATCH] D93969: [TableGen] Add field kind to the RecordVal class.

Paul C. Anagnostopoulos via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 11 16:29:46 PST 2021


Paul-C-Anagnostopoulos added a comment.

That is plenty of information, thanks. The problem is that the paste operator (#) is not willing to convert a bit to a string. I have no idea why and I will fix this if there is no good reason to prevent it. Meanwhile, you can use:

!cast<int>(isDS)
!cast<int>(isTemp)

And the 'field' keyword is unnecessary.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D93969/new/

https://reviews.llvm.org/D93969



More information about the llvm-commits mailing list