[PATCH] D46054: [TableGen] Add a general-purpose JSON backend.

Simon Tatham via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 25 08:36:55 PDT 2018


simon_tatham added inline comments.


================
Comment at: utils/TableGen/JSONEmitter.cpp:1
+//===- RegisterBankEmitter.cpp - Generate a Register Bank Desc. -*- C++ -*-===//
+//
----------------
labath wrote:
> You should take a look at <D45753>, which is about to add a JSON library to llvm. It would be a shame to add two of them in the same week. :)
> 
Ha! You're right, I hadn't noticed that. I'll replace my ad-hockery with calls to that code with great pleasure as soon as it lands – even without looking I'm sure it will be better than the 'only just enough' code I have here. Thanks for pointing it out!


Repository:
  rL LLVM

https://reviews.llvm.org/D46054





More information about the llvm-commits mailing list