<feed xmlns='http://www.w3.org/2005/Atom'>
<title>llvm-project.git/llvm/lib/Target/ARC/ARCISelLowering.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>[ARC][CSKY][Lanai] TableGen-erate SDNode descriptions (#138874)</title>
<updated>2025-05-08T10:37:15+00:00</updated>
<author>
<name>Sergei Barannikov</name>
<email>barannikov88@gmail.com</email>
</author>
<published>2025-05-08T10:37:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=92cc31b0f7737408dffd38c2384dff825abb8e3a'/>
<id>92cc31b0f7737408dffd38c2384dff825abb8e3a</id>
<content type='text'>
This consolidates node definitions into one place and enables automatic
node verification.

Part of #119709.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This consolidates node definitions into one place and enables automatic
node verification.

Part of #119709.</pre>
</div>
</content>
</entry>
<entry>
<title>[Mips] Fix compiler crash when returning fp128 after calling a functi… (#117525)</title>
<updated>2025-01-20T08:47:40+00:00</updated>
<author>
<name>yingopq</name>
<email>115543042+yingopq@users.noreply.github.com</email>
</author>
<published>2025-01-20T08:47:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=754ed95b6672b9a678a994cc652862a91cdc4406'/>
<id>754ed95b6672b9a678a994cc652862a91cdc4406</id>
<content type='text'>
…on returning { i8, i128 }

Fixes https://github.com/llvm/llvm-project/issues/96432.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
…on returning { i8, i128 }

Fixes https://github.com/llvm/llvm-project/issues/96432.</pre>
</div>
</content>
</entry>
<entry>
<title>[ARC,CSKY] Update getMemcpy after #98969</title>
<updated>2024-07-17T18:01:20+00:00</updated>
<author>
<name>Fangrui Song</name>
<email>i@maskray.me</email>
</author>
<published>2024-07-17T18:01:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=e3b8d3649789a59e54a32998780fb64d0663284c'/>
<id>e3b8d3649789a59e54a32998780fb64d0663284c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Set MaxAtomicSizeInBitsSupported for remaining targets. (#75703)</title>
<updated>2024-01-09T03:34:28+00:00</updated>
<author>
<name>James Y Knight</name>
<email>jyknight@google.com</email>
</author>
<published>2024-01-09T03:34:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=b856e77b2df212d740bfedc984572d812d07ecc8'/>
<id>b856e77b2df212d740bfedc984572d812d07ecc8</id>
<content type='text'>
Targets affected:

- NVPTX and BPF: set to 64 bits.
- ARC, Lanai, and MSP430: set to 0 (they don't implement atomics).

Those which didn't yet add AtomicExpandPass to their pass pipeline now
do so.

This will result in larger atomic operations getting expanded to
`__atomic_*` libcalls via AtomicExpandPass. On all these targets, this
now matches what Clang already does in the frontend.

The only targets which do not configure AtomicExpandPass now are:
- DirectX and SPIRV: they aren't normal backends.
- AVR: a single-cpu architecture with no privileged/user divide, which
could implement all atomics by disabling/enabling interrupts, regardless
of size/alignment. Will be addressed by future work.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Targets affected:

- NVPTX and BPF: set to 64 bits.
- ARC, Lanai, and MSP430: set to 0 (they don't implement atomics).

Those which didn't yet add AtomicExpandPass to their pass pipeline now
do so.

This will result in larger atomic operations getting expanded to
`__atomic_*` libcalls via AtomicExpandPass. On all these targets, this
now matches what Clang already does in the frontend.

The only targets which do not configure AtomicExpandPass now are:
- DirectX and SPIRV: they aren't normal backends.
- AVR: a single-cpu architecture with no privileged/user divide, which
could implement all atomics by disabling/enabling interrupts, regardless
of size/alignment. Will be addressed by future work.</pre>
</div>
</content>
</entry>
<entry>
<title>[llvm][NFC] Use SDValue::getConstantOperandVal(i) where possible (#76708)</title>
<updated>2024-01-02T13:14:28+00:00</updated>
<author>
<name>Alex Bradbury</name>
<email>asb@igalia.com</email>
</author>
<published>2024-01-02T13:14:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=80aeb622117f6411e65bff42be5231720e8b8cef'/>
<id>80aeb622117f6411e65bff42be5231720e8b8cef</id>
<content type='text'>
This helper function shortens examples like
`cast&lt;ConstantSDNode&gt;(Node-&gt;getOperand(1))-&gt;getZExtValue();` to
`Node-&gt;getConstantOperandVal(1);`.

Implemented with:
`git grep -l
"cast&lt;ConstantSDNode&gt;\(.*-&gt;getOperand\(.*\)\)-&gt;getZExtValue\(\)" | xargs
sed -E -i

's/cast&lt;ConstantSDNode&gt;\((.*)-&gt;getOperand\((.*)\)\)-&gt;getZExtValue\(\)/\1-&gt;getConstantOperandVal(\2)/`
and `git grep -l
"cast&lt;ConstantSDNode&gt;\(.*\.getOperand\(.*\)\)-&gt;getZExtValue\(\)" | xargs
sed -E -i

's/cast&lt;ConstantSDNode&gt;\((.*)\.getOperand\((.*)\)\)-&gt;getZExtValue\(\)/\1.getConstantOperandVal(\2)/'`.
With a couple of simple manual fixes needed. Result then processed by
`git clang-format`.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This helper function shortens examples like
`cast&lt;ConstantSDNode&gt;(Node-&gt;getOperand(1))-&gt;getZExtValue();` to
`Node-&gt;getConstantOperandVal(1);`.

Implemented with:
`git grep -l
"cast&lt;ConstantSDNode&gt;\(.*-&gt;getOperand\(.*\)\)-&gt;getZExtValue\(\)" | xargs
sed -E -i

's/cast&lt;ConstantSDNode&gt;\((.*)-&gt;getOperand\((.*)\)\)-&gt;getZExtValue\(\)/\1-&gt;getConstantOperandVal(\2)/`
and `git grep -l
"cast&lt;ConstantSDNode&gt;\(.*\.getOperand\(.*\)\)-&gt;getZExtValue\(\)" | xargs
sed -E -i

's/cast&lt;ConstantSDNode&gt;\((.*)\.getOperand\((.*)\)\)-&gt;getZExtValue\(\)/\1.getConstantOperandVal(\2)/'`.
With a couple of simple manual fixes needed. Result then processed by
`git clang-format`.</pre>
</div>
</content>
</entry>
<entry>
<title>[CodeGen] Replace CCState's getNextStackOffset with getStackSize (NFC)</title>
<updated>2023-05-17T18:51:45+00:00</updated>
<author>
<name>Sergei Barannikov</name>
<email>barannikov88@gmail.com</email>
</author>
<published>2023-05-01T02:39:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=01a796744745d8413d0821c734caf2fbe19f2eca'/>
<id>01a796744745d8413d0821c734caf2fbe19f2eca</id>
<content type='text'>
The term "next stack offset" is misleading because the next argument is
not necessarily allocated at this offset due to alignment constrains.
It also does not make much sense when allocating arguments at negative
offsets (introduced in a follow-up patch), because the returned offset
would be past the end of the next argument.

Reviewed By: arsenm

Differential Revision: https://reviews.llvm.org/D149566
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The term "next stack offset" is misleading because the next argument is
not necessarily allocated at this offset due to alignment constrains.
It also does not make much sense when allocating arguments at negative
offsets (introduced in a follow-up patch), because the returned offset
would be past the end of the next argument.

Reviewed By: arsenm

Differential Revision: https://reviews.llvm.org/D149566
</pre>
</div>
</content>
</entry>
<entry>
<title>[Targets] Rename Flag-&gt;Glue. NFC</title>
<updated>2023-04-03T02:28:51+00:00</updated>
<author>
<name>Craig Topper</name>
<email>craig.topper@sifive.com</email>
</author>
<published>2023-04-03T02:14:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=219ff07f72c4ff5ec0563678fceaa60e1bddd56d'/>
<id>219ff07f72c4ff5ec0563678fceaa60e1bddd56d</id>
<content type='text'>
Long long ago Glue was called Flag, and it was never completely
renamed.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Long long ago Glue was called Flag, and it was never completely
renamed.
</pre>
</div>
</content>
</entry>
<entry>
<title>[SDAG] Add `getCALLSEQ_END` overload taking `uint64_t`s</title>
<updated>2022-09-15T18:02:12+00:00</updated>
<author>
<name>Sergei Barannikov</name>
<email>barannikov88@gmail.com</email>
</author>
<published>2022-09-15T17:42:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=c6acb4eb0f29aa651304ccc6221450afcce6702a'/>
<id>c6acb4eb0f29aa651304ccc6221450afcce6702a</id>
<content type='text'>
All in-tree targets pass pointer-sized ConstantSDNodes to the
method. This overload reduced amount of boilerplate code a bit.  This
also makes getCALLSEQ_END consistent with getCALLSEQ_START, which
already takes uint64_ts.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
All in-tree targets pass pointer-sized ConstantSDNodes to the
method. This overload reduced amount of boilerplate code a bit.  This
also makes getCALLSEQ_END consistent with getCALLSEQ_START, which
already takes uint64_ts.
</pre>
</div>
</content>
</entry>
<entry>
<title>[llvm] Use std::size instead of llvm::array_lengthof</title>
<updated>2022-09-08T15:01:53+00:00</updated>
<author>
<name>Joe Loser</name>
<email>joeloser@fastmail.com</email>
</author>
<published>2022-09-07T00:06:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=5e96cea1db0623a833d5376c9ea2ce4528771f97'/>
<id>5e96cea1db0623a833d5376c9ea2ce4528771f97</id>
<content type='text'>
LLVM contains a helpful function for getting the size of a C-style
array: `llvm::array_lengthof`. This is useful prior to C++17, but not as
helpful for C++17 or later: `std::size` already has support for C-style
arrays.

Change call sites to use `std::size` instead.

Differential Revision: https://reviews.llvm.org/D133429
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
LLVM contains a helpful function for getting the size of a C-style
array: `llvm::array_lengthof`. This is useful prior to C++17, but not as
helpful for C++17 or later: `std::size` already has support for C-style
arrays.

Change call sites to use `std::size` instead.

Differential Revision: https://reviews.llvm.org/D133429
</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "Rename llvm::array_lengthof into llvm::size to match std::size from C++17"</title>
<updated>2022-01-26T15:55:53+00:00</updated>
<author>
<name>Benjamin Kramer</name>
<email>benny.kra@googlemail.com</email>
</author>
<published>2022-01-26T15:55:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=f15014ff549a8686671a599f7b49ce9963769eaf'/>
<id>f15014ff549a8686671a599f7b49ce9963769eaf</id>
<content type='text'>
This reverts commit ef8206320769ad31422a803a0d6de6077fd231d2.

- It conflicts with the existing llvm::size in STLExtras, which will now
  never be called.
- Calling it without llvm:: breaks C++17 compat
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts commit ef8206320769ad31422a803a0d6de6077fd231d2.

- It conflicts with the existing llvm::size in STLExtras, which will now
  never be called.
- Calling it without llvm:: breaks C++17 compat
</pre>
</div>
</content>
</entry>
</feed>
