<feed xmlns='http://www.w3.org/2005/Atom'>
<title>llvm-project.git/llvm/lib/TableGen/Error.cpp, branch users/nico/python-2</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/'/>
<entry>
<title>[NFC][TableGen] Adopt `ArrayRef::consume_front()` in `PrintMessage` (#146775)</title>
<updated>2025-07-03T02:18:21+00:00</updated>
<author>
<name>Rahul Joshi</name>
<email>rjoshi@nvidia.com</email>
</author>
<published>2025-07-03T02:18:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=9382a95e654eb20362ca4bdaa5eacf0066e32916'/>
<id>9382a95e654eb20362ca4bdaa5eacf0066e32916</id>
<content type='text'>
Adopt `ArrayRef::consume_front()` in `PrintMessage`, and convert the
loop in that function to a range for loop.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Adopt `ArrayRef::consume_front()` in `PrintMessage`, and convert the
loop in that function to a range for loop.</pre>
</div>
</content>
</entry>
<entry>
<title>[LLVM][TableGen] Change all `Init` pointers to const (#112705)</title>
<updated>2024-10-18T14:50:22+00:00</updated>
<author>
<name>Rahul Joshi</name>
<email>rjoshi@nvidia.com</email>
</author>
<published>2024-10-18T14:50:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=62e2c7fb2d18b43149a07526f6a3c0563d50e2fa'/>
<id>62e2c7fb2d18b43149a07526f6a3c0563d50e2fa</id>
<content type='text'>
This is a part of effort to have better const correctness in TableGen
backends:


https://discourse.llvm.org/t/psa-planned-changes-to-tablegen-getallderiveddefinitions-api-potential-downstream-breakages/81089</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is a part of effort to have better const correctness in TableGen
backends:


https://discourse.llvm.org/t/psa-planned-changes-to-tablegen-getallderiveddefinitions-api-potential-downstream-breakages/81089</pre>
</div>
</content>
</entry>
<entry>
<title>[TableGen] Print assert message inline with assert failure (#111184)</title>
<updated>2024-10-04T20:21:50+00:00</updated>
<author>
<name>Rahul Joshi</name>
<email>rjoshi@nvidia.com</email>
</author>
<published>2024-10-04T20:21:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=e31e6f259ed22acfb2135700cb0482f84d6ea386'/>
<id>e31e6f259ed22acfb2135700cb0482f84d6ea386</id>
<content type='text'>
Print assert message after the "assertion failed" message instead of
printing it as a separate note. This makes the assert failure reporting
less verbose and also more useful to see the failure message inline with
the "assertion failed" message.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Print assert message after the "assertion failed" message instead of
printing it as a separate note. This makes the assert failure reporting
less verbose and also more useful to see the failure message inline with
the "assertion failed" message.</pre>
</div>
</content>
</entry>
<entry>
<title>[TableGen] Print record location when record asserts fail (#111029)</title>
<updated>2024-10-04T12:45:45+00:00</updated>
<author>
<name>Rahul Joshi</name>
<email>rjoshi@nvidia.com</email>
</author>
<published>2024-10-04T12:45:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=04540fac5bfa6c1630e84ccdc7f817bd8bc1a986'/>
<id>04540fac5bfa6c1630e84ccdc7f817bd8bc1a986</id>
<content type='text'>
When record assertions fail, print an error message with the record's
location, so it's easier to see where the record that caused the assert
to fail was instantiated. This is useful when the assert condition in a
class depends on a template parameter, so we need to know the context of
the definition to determine why the assert failed.

Also enhanced the assert.td test to check for these context messages,
and also add checks for some assert failures that were missing in the
test.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When record assertions fail, print an error message with the record's
location, so it's easier to see where the record that caused the assert
to fail was instantiated. This is useful when the assert condition in a
class depends on a template parameter, so we need to know the context of
the definition to determine why the assert failed.

Also enhanced the assert.td test to check for these context messages,
and also add checks for some assert failures that were missing in the
test.</pre>
</div>
</content>
</entry>
<entry>
<title>[TableGen] Add PrintError family overload that take a print function (#107333)</title>
<updated>2024-09-07T12:13:54+00:00</updated>
<author>
<name>Rahul Joshi</name>
<email>rjoshi@nvidia.com</email>
</author>
<published>2024-09-07T12:13:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=0ceffd362bf01769fa310103b11af9cdc12e2f5b'/>
<id>0ceffd362bf01769fa310103b11af9cdc12e2f5b</id>
<content type='text'>
Add PrintError and family overload that accepts a print function. This
avoids constructing potentially long strings for passing into these
print functions.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add PrintError and family overload that accepts a print function. This
avoids constructing potentially long strings for passing into these
print functions.</pre>
</div>
</content>
</entry>
<entry>
<title>[TableGen] Print Error and not crash on dumping non-string values (#104568)</title>
<updated>2024-08-19T04:29:47+00:00</updated>
<author>
<name>Akshat Oke</name>
<email>76596238+Akshat-Oke@users.noreply.github.com</email>
</author>
<published>2024-08-19T04:29:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=82fdfd4aa7f60b1f8e715211b925a7f2bfe57ea9'/>
<id>82fdfd4aa7f60b1f8e715211b925a7f2bfe57ea9</id>
<content type='text'>
Co-authored-by: Akshat Oke &lt;Akshat.Oke@amd.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Co-authored-by: Akshat Oke &lt;Akshat.Oke@amd.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>[Tablegen] Add keyword `dump`. (#68793)</title>
<updated>2023-10-19T07:26:36+00:00</updated>
<author>
<name>Francesco Petrogalli</name>
<email>francesco.petrogalli@apple.com</email>
</author>
<published>2023-10-19T07:26:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=db9b6f4987394c56102d08566422a867cde01a6d'/>
<id>db9b6f4987394c56102d08566422a867cde01a6d</id>
<content type='text'>
The keyword is intended for debugging purpose. It prints a message to
stderr.

This patch is based on code originally written by Adam Nemet, and on the
feedback received by the reviewers in
https://reviews.llvm.org/D157492.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The keyword is intended for debugging purpose. It prints a message to
stderr.

This patch is based on code originally written by Adam Nemet, and on the
feedback received by the reviewers in
https://reviews.llvm.org/D157492.</pre>
</div>
</content>
</entry>
<entry>
<title>[TableGen] Remove the use of global Record state</title>
<updated>2022-05-11T18:55:33+00:00</updated>
<author>
<name>River Riddle</name>
<email>riddleriver@gmail.com</email>
</author>
<published>2022-05-07T01:05:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=2ac3cd20cacdf37135eeb64ad2b7baefb9769e99'/>
<id>2ac3cd20cacdf37135eeb64ad2b7baefb9769e99</id>
<content type='text'>
This commits removes TableGens reliance on managed static global record state
by moving the RecordContext into the RecordKeeper. The RecordKeeper is now
treated similarly to a (LLVM|MLIR|etc)Context object and is passed to static
construction functions. This is an important step forward in removing TableGens
reliance on global state, and in a followup will allow for users that parse tablegen
to parse multiple tablegen files without worrying about Record lifetime.

Differential Revision: https://reviews.llvm.org/D125276
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This commits removes TableGens reliance on managed static global record state
by moving the RecordContext into the RecordKeeper. The RecordKeeper is now
treated similarly to a (LLVM|MLIR|etc)Context object and is passed to static
construction functions. This is an important step forward in removing TableGens
reliance on global state, and in a followup will allow for users that parse tablegen
to parse multiple tablegen files without worrying about Record lifetime.

Differential Revision: https://reviews.llvm.org/D125276
</pre>
</div>
</content>
</entry>
<entry>
<title>[TableGen] Add support for the 'assert' statement in class definitions.</title>
<updated>2021-03-29T13:20:29+00:00</updated>
<author>
<name>Paul C. Anagnostopoulos</name>
<email>paul@windfall.com</email>
</author>
<published>2021-03-22T17:38:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=5f473a04af91d713deb71aeab1c783d9420d6fcf'/>
<id>5f473a04af91d713deb71aeab1c783d9420d6fcf</id>
<content type='text'>
Differential Revision: https://reviews.llvm.org/D99275
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Differential Revision: https://reviews.llvm.org/D99275
</pre>
</div>
</content>
</entry>
<entry>
<title>[TableGen] Eliminate the 'code' type</title>
<updated>2020-12-03T15:19:11+00:00</updated>
<author>
<name>Paul C. Anagnostopoulos</name>
<email>paul@windfall.com</email>
</author>
<published>2020-11-24T18:09:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=415fab6f67b4db59abe533130272d55b4efbf0cb'/>
<id>415fab6f67b4db59abe533130272d55b4efbf0cb</id>
<content type='text'>
Update the documentation.

Rework various backends that relied on the code type.

Differential Revision: https://reviews.llvm.org/D92269
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Update the documentation.

Rework various backends that relied on the code type.

Differential Revision: https://reviews.llvm.org/D92269
</pre>
</div>
</content>
</entry>
</feed>
