[clang] [llvm] [IR] Allow integer vector atomicrmw (PR #190716)

Fabian Ritter via cfe-commits cfe-commits at lists.llvm.org
Mon Jul 6 07:17:12 PDT 2026


================
@@ -49,3 +49,26 @@ define float @test_atomicrmw_fsub_f32(ptr %ptr, float %value) {
   ret float %res
 }
 
+define <2 x i16> @test_atomicrmw_add_v2i16(ptr %ptr, <2 x i16> %value) {
----------------
ritter-x2a wrote:

So far, this `atomicrmw-fp.ll` test only tests floating point operations, it seems odd to add a test for an integer vector operation to that.

https://github.com/llvm/llvm-project/pull/190716


More information about the cfe-commits mailing list