<feed xmlns='http://www.w3.org/2005/Atom'>
<title>llvm-project.git/clang/lib/CIR/CodeGen/CIRGenAtomic.cpp, branch main</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>[CIR] Add support for non-compile-time memory order (#168892)</title>
<updated>2025-11-22T11:36:40+00:00</updated>
<author>
<name>Sirui Mu</name>
<email>msrlancern@gmail.com</email>
</author>
<published>2025-11-22T11:36:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=4128b213ee93750766c57b5b37d239be53b80c26'/>
<id>4128b213ee93750766c57b5b37d239be53b80c26</id>
<content type='text'>
This patch upstreams CIR support for atomic operations with memory
orders that are not known at compile time.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch upstreams CIR support for atomic operations with memory
orders that are not known at compile time.</pre>
</div>
</content>
</entry>
<entry>
<title>[CIR] Add support for storing into _Atomic variables (#165872)</title>
<updated>2025-11-05T11:32:34+00:00</updated>
<author>
<name>Sirui Mu</name>
<email>msrlancern@gmail.com</email>
</author>
<published>2025-11-05T11:32:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=c1dc064ba063f0d679f1a6d6aeef99becea8b709'/>
<id>c1dc064ba063f0d679f1a6d6aeef99becea8b709</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[CIR] Atomic fetch operation (#161631)</title>
<updated>2025-10-21T15:57:27+00:00</updated>
<author>
<name>Sirui Mu</name>
<email>msrlancern@gmail.com</email>
</author>
<published>2025-10-21T15:57:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=3161e160c147882d36f572b0a834bb138898738b'/>
<id>3161e160c147882d36f572b0a834bb138898738b</id>
<content type='text'>
This patch adds CIR support for atomic fetch-and-update operations,
including the intrinsic functions `__atomic_fetch_&lt;binop&gt;`,
`__atomic_&lt;binop&gt;_fetch`, and `__c11_atomic_fetch_&lt;binop&gt;`, where
`&lt;binop&gt;` could be `add`, `sub`, `max`, `min`, `and`, `or`, `xor`, and
`nand`.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch adds CIR support for atomic fetch-and-update operations,
including the intrinsic functions `__atomic_fetch_&lt;binop&gt;`,
`__atomic_&lt;binop&gt;_fetch`, and `__c11_atomic_fetch_&lt;binop&gt;`, where
`&lt;binop&gt;` could be `add`, `sub`, `max`, `min`, `and`, `or`, `xor`, and
`nand`.</pre>
</div>
</content>
</entry>
<entry>
<title>[CIR] Add support for atomic test-and-set and atomic clear (#164162)</title>
<updated>2025-10-21T12:36:11+00:00</updated>
<author>
<name>Sirui Mu</name>
<email>msrlancern@gmail.com</email>
</author>
<published>2025-10-21T12:36:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=95d1b4f83447807c7cbcafe5a13c285084784d34'/>
<id>95d1b4f83447807c7cbcafe5a13c285084784d34</id>
<content type='text'>
This patch adds support for the following atomic builtin functions:
  - `__atomic_test_and_set`
  - `__atomic_clear`</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch adds support for the following atomic builtin functions:
  - `__atomic_test_and_set`
  - `__atomic_clear`</pre>
</div>
</content>
</entry>
<entry>
<title>[CIR][NFC] Update existing atomic ops to match assembly conventions (#161543)</title>
<updated>2025-10-14T13:29:08+00:00</updated>
<author>
<name>Sirui Mu</name>
<email>msrlancern@gmail.com</email>
</author>
<published>2025-10-14T13:29:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=7e59abd079cb2eb9fbce3106eb285abf40561748'/>
<id>7e59abd079cb2eb9fbce3106eb285abf40561748</id>
<content type='text'>
This patch updates the definitions of `cir.atomic.xchg` and
`cir.atomic.cmpxchg` to make them follow the established CIR assembly
conventions. Some other minor changes are also made along the way:

- The verifier for `cir.atomic.cmpxchg` is now fully declared in
TableGen.
- The `Op` suffix is appended to `CIR_AtomicXchg` and
`CIR_AtomicCmpXchg` to follow the naming conventions for TableGen
operation records.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch updates the definitions of `cir.atomic.xchg` and
`cir.atomic.cmpxchg` to make them follow the established CIR assembly
conventions. Some other minor changes are also made along the way:

- The verifier for `cir.atomic.cmpxchg` is now fully declared in
TableGen.
- The `Op` suffix is appended to `CIR_AtomicXchg` and
`CIR_AtomicCmpXchg` to follow the naming conventions for TableGen
operation records.</pre>
</div>
</content>
</entry>
<entry>
<title>[CIR] Implement emitAtomicInit for AggregateExpr (#161826)</title>
<updated>2025-10-04T10:38:09+00:00</updated>
<author>
<name>Amr Hesham</name>
<email>amr96@programmer.net</email>
</author>
<published>2025-10-04T10:38:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=9a2a4f65bc70712c667feaf0f6559f7ab94d7e11'/>
<id>9a2a4f65bc70712c667feaf0f6559f7ab94d7e11</id>
<content type='text'>
Implement emitAtomicInit support for AggregateExpr</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Implement emitAtomicInit support for AggregateExpr</pre>
</div>
</content>
</entry>
<entry>
<title>[CIR] Add atomic exchange operation (#158089)</title>
<updated>2025-09-20T09:35:18+00:00</updated>
<author>
<name>Sirui Mu</name>
<email>msrlancern@gmail.com</email>
</author>
<published>2025-09-20T09:35:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=674491928c9ae8ec25bde79044894570988202ea'/>
<id>674491928c9ae8ec25bde79044894570988202ea</id>
<content type='text'>
This patch adds atomic exchange operation which covers the following
C/C++ intrinsic functions:

  - `__c11_atomic_exchange`
  - `__atomic_exchange`
  - `__atomic_exchange_n`</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch adds atomic exchange operation which covers the following
C/C++ intrinsic functions:

  - `__c11_atomic_exchange`
  - `__atomic_exchange`
  - `__atomic_exchange_n`</pre>
</div>
</content>
</entry>
<entry>
<title>[CIR] Add support for atomic compare-and-swap (#156253)</title>
<updated>2025-09-08T15:49:10+00:00</updated>
<author>
<name>Sirui Mu</name>
<email>msrlancern@gmail.com</email>
</author>
<published>2025-09-08T15:49:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=990fe80ce5534f256c05de0400d43ff6d292f5e5'/>
<id>990fe80ce5534f256c05de0400d43ff6d292f5e5</id>
<content type='text'>
This patch adds support for atomic compare-and-swap operations,
including the following C/C++ instrinsics:

  - `__atomic_compare_exchange`
  - `__atomic_compare_exchange_n`
  - `__c11_atomic_compare_exchange_strong`
  - `__c11_atomic_compare_exchange_weak`</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch adds support for atomic compare-and-swap operations,
including the following C/C++ instrinsics:

  - `__atomic_compare_exchange`
  - `__atomic_compare_exchange_n`
  - `__c11_atomic_compare_exchange_strong`
  - `__c11_atomic_compare_exchange_weak`</pre>
</div>
</content>
</entry>
<entry>
<title>[CIR] Upstream Atomic init for ComplexType (#156518)</title>
<updated>2025-09-03T16:13:48+00:00</updated>
<author>
<name>Amr Hesham</name>
<email>amr96@programmer.net</email>
</author>
<published>2025-09-03T16:13:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=c9ca354d383dc4a2843c9f89d9317c8a21fd0bf8'/>
<id>c9ca354d383dc4a2843c9f89d9317c8a21fd0bf8</id>
<content type='text'>
This change adds support for Atomic init for ComplexType

Issue: https://github.com/llvm/llvm-project/issues/141365</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This change adds support for Atomic init for ComplexType

Issue: https://github.com/llvm/llvm-project/issues/141365</pre>
</div>
</content>
</entry>
<entry>
<title>[CIR] More atomic load and store (#155168)</title>
<updated>2025-08-27T14:45:38+00:00</updated>
<author>
<name>Sirui Mu</name>
<email>msrlancern@gmail.com</email>
</author>
<published>2025-08-27T14:45:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=a2bc0ca233574895091675518943f19aed1133ee'/>
<id>a2bc0ca233574895091675518943f19aed1133ee</id>
<content type='text'>
This patch adds support for `__atomic_load_n` and `__atomic_store_n`
that were missed by #153814.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch adds support for `__atomic_load_n` and `__atomic_store_n`
that were missed by #153814.</pre>
</div>
</content>
</entry>
</feed>
