================
@@ -747,9 +747,13 @@ void test_c11_minmax(_Atomic(int) * si, _Atomic(unsigned) 
* ui, _Atomic(short) *
   // CHECK: atomicrmw min ptr {{.*}} acquire, align 8
   *sll = __c11_atomic_fetch_min(sll, 42, memory_order_acquire);
 
+  // CHECK: atomicrmw umax ptr {{.*}} acquire, align 4
+  __c11_atomic_fetch_max(aip, ip, memory_order_acquire);
----------------
huixie90 wrote:

thanks. make these tests check few more lines of IR and verified all these IRs 
are the same shape

https://github.com/llvm/llvm-project/pull/182699
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to