<feed xmlns='http://www.w3.org/2005/Atom'>
<title>llvm-project.git/llvm/lib/TableGen/Record.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>[TableGen] Avoid evaluating RHS of a BinOp until short-circuit is complete (#144021)</title>
<updated>2025-06-13T17:36:09+00:00</updated>
<author>
<name>Min-Yih Hsu</name>
<email>min.hsu@sifive.com</email>
</author>
<published>2025-06-13T17:36:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=ecdb549e6de60b3211cfa860eec498270e3980f1'/>
<id>ecdb549e6de60b3211cfa860eec498270e3980f1</id>
<content type='text'>
This patch adds an even more aggressive short-circuit on `!and` and
`!or` that completely avoids the evaluation of RHS operand until short
circuiting decisions are made.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch adds an even more aggressive short-circuit on `!and` and
`!or` that completely avoids the evaluation of RHS operand until short
circuiting decisions are made.</pre>
</div>
</content>
</entry>
<entry>
<title>[TableGen] !subst on a dag should retain name of operator (#141195)</title>
<updated>2025-05-23T19:03:56+00:00</updated>
<author>
<name>Adam Nemet</name>
<email>anemet@apple.com</email>
</author>
<published>2025-05-23T19:03:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=9f5a67029721ce8e9a09a29e142010e20d184710'/>
<id>9f5a67029721ce8e9a09a29e142010e20d184710</id>
<content type='text'>
Without this patch the !subst in the test drops the name "$frag" from
(one_frag:$frag ...) and returns:

```
(set FPR32_NEW:$dst, (one_frag FPR32_NEW:$a, FPR32_NEW:$b))
```</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Without this patch the !subst in the test drops the name "$frag" from
(one_frag:$frag ...) and returns:

```
(set FPR32_NEW:$dst, (one_frag FPR32_NEW:$a, FPR32_NEW:$b))
```</pre>
</div>
</content>
</entry>
<entry>
<title>[TableGen] Add missing $ before the dag operator name (#140969)</title>
<updated>2025-05-22T23:21:19+00:00</updated>
<author>
<name>Adam Nemet</name>
<email>anemet@apple.com</email>
</author>
<published>2025-05-22T23:21:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=1a4d5887386d98573bee895f762997abc5b4499c'/>
<id>1a4d5887386d98573bee895f762997abc5b4499c</id>
<content type='text'>
This way the dump output is roundtripable.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This way the dump output is roundtripable.</pre>
</div>
</content>
</entry>
<entry>
<title>[LLVM][TableGen] Rename `ListInit::getValues()` to `getElements()` (#140289)</title>
<updated>2025-05-19T19:16:33+00:00</updated>
<author>
<name>Rahul Joshi</name>
<email>rjoshi@nvidia.com</email>
</author>
<published>2025-05-19T19:16:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=3932360b14c390188977a53ecba6c13fff685aae'/>
<id>3932360b14c390188977a53ecba6c13fff685aae</id>
<content type='text'>
Rename `ListInit::getValues()` to `getElements()` to better match with
other `ListInit` members like `getElement`. Keep `getValues()` for
existing downstream code but mark it deprecated.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Rename `ListInit::getValues()` to `getElements()` to better match with
other `ListInit` members like `getElement`. Keep `getValues()` for
existing downstream code but mark it deprecated.</pre>
</div>
</content>
</entry>
<entry>
<title>[NFC][TableGen] Use SmallVector range constructor when possible (#140284)</title>
<updated>2025-05-19T19:15:43+00:00</updated>
<author>
<name>Rahul Joshi</name>
<email>rjoshi@nvidia.com</email>
</author>
<published>2025-05-19T19:15:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=0f38543df55575562c75e1227fc9ada22417fa8f'/>
<id>0f38543df55575562c75e1227fc9ada22417fa8f</id>
<content type='text'>
Initialize vectors using constructor instead of llvm::append_range when
possible.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Initialize vectors using constructor instead of llvm::append_range when
possible.</pre>
</div>
</content>
</entry>
<entry>
<title>[LLVM][TableGen] Simplify `DagInit::get` (#140056)</title>
<updated>2025-05-16T16:45:58+00:00</updated>
<author>
<name>Rahul Joshi</name>
<email>rjoshi@nvidia.com</email>
</author>
<published>2025-05-16T16:45:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=7674d6fa9e45c1748d0dd49430aa472028d44a2d'/>
<id>7674d6fa9e45c1748d0dd49430aa472028d44a2d</id>
<content type='text'>
- Add `DagInit::get` overloads that do not need ValName to be specified.
- Fix some calls to either not create temporary arrays for DAG args or
use the std::pair&lt;&gt; overload.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- Add `DagInit::get` overloads that do not need ValName to be specified.
- Fix some calls to either not create temporary arrays for DAG args or
use the std::pair&lt;&gt; overload.</pre>
</div>
</content>
</entry>
<entry>
<title>[NFC][TableGen] Code cleanup in Record.h/cpp (#138876)</title>
<updated>2025-05-14T13:10:00+00:00</updated>
<author>
<name>Rahul Joshi</name>
<email>rjoshi@nvidia.com</email>
</author>
<published>2025-05-14T13:10:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=7c57e82456c882b2e8cca728e3ff79030c9ae619'/>
<id>7c57e82456c882b2e8cca728e3ff79030c9ae619</id>
<content type='text'>
- Use range for loops in several places.
- Change some variable names to conform to LLVM coding standard.
- Use ListSeparator instead of manual code to generate comma interleaved
strings.
- Remove unnecessary copies in SETDAGOP evaluation in BinOpInit::Fold.
- Eliminate duplicated code in the 2 overloads of RecordVal::setValue.
- Use explicit type in some range for loops.
- Tested by verifying that all the .inc files generated by building all
the *CommonTableGen targets stay unchanged.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- Use range for loops in several places.
- Change some variable names to conform to LLVM coding standard.
- Use ListSeparator instead of manual code to generate comma interleaved
strings.
- Remove unnecessary copies in SETDAGOP evaluation in BinOpInit::Fold.
- Eliminate duplicated code in the 2 overloads of RecordVal::setValue.
- Use explicit type in some range for loops.
- Tested by verifying that all the .inc files generated by building all
the *CommonTableGen targets stay unchanged.</pre>
</div>
</content>
</entry>
<entry>
<title>[TableGen] Use std::string::find (NFC) (#139681)</title>
<updated>2025-05-13T22:50:09+00:00</updated>
<author>
<name>Kazu Hirata</name>
<email>kazu@google.com</email>
</author>
<published>2025-05-13T22:50:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=298ace7dff4f612e1d7dbf7bc18c32ee6c6c774b'/>
<id>298ace7dff4f612e1d7dbf7bc18c32ee6c6c774b</id>
<content type='text'>
This patch partially reverts #139661 for a better solution.
Specifically, we can take advantage of the fact that std::string::find
accepts anything that can be converted to std::string_view, including
StringRef, starting with C++17.  This way, we do not need to cast Val
to StringRef or LHSs-&gt;getValue() to std::string.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch partially reverts #139661 for a better solution.
Specifically, we can take advantage of the fact that std::string::find
accepts anything that can be converted to std::string_view, including
StringRef, starting with C++17.  This way, we do not need to cast Val
to StringRef or LHSs-&gt;getValue() to std::string.</pre>
</div>
</content>
</entry>
<entry>
<title>[llvm] Use StringRef::{starts_with,find} (NFC) (#139661)</title>
<updated>2025-05-13T06:24:07+00:00</updated>
<author>
<name>Kazu Hirata</name>
<email>kazu@google.com</email>
</author>
<published>2025-05-13T06:24:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=c95745f2dbe61bedebe0d77e1e7beab18157fc13'/>
<id>c95745f2dbe61bedebe0d77e1e7beab18157fc13</id>
<content type='text'>
Calling find/contains in the StringRef domain allows us to avoid
creating temporary instances of std::string.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Calling find/contains in the StringRef domain allows us to avoid
creating temporary instances of std::string.</pre>
</div>
</content>
</entry>
<entry>
<title>[NFCI][LLVM/MLIR] Adopt `TrailingObjects` convenience API (#138554)</title>
<updated>2025-05-12T23:17:43+00:00</updated>
<author>
<name>Rahul Joshi</name>
<email>rjoshi@nvidia.com</email>
</author>
<published>2025-05-12T23:17:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=86c5112409d51620663cf59afeaf5c3a4017eded'/>
<id>86c5112409d51620663cf59afeaf5c3a4017eded</id>
<content type='text'>
Adopt `TrailingObjects` convenience API that was added in
https://github.com/llvm/llvm-project/pull/138970 in LLVM and MLIR code.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Adopt `TrailingObjects` convenience API that was added in
https://github.com/llvm/llvm-project/pull/138970 in LLVM and MLIR code.</pre>
</div>
</content>
</entry>
</feed>
