================
@@ -0,0 +1,123 @@
+// NOTE: Assertions have been autogenerated by utils/update_cc_test_checks.py
UTC_ARGS: --version 6
+// RUN: %clang_cc1 %s -emit-llvm -o - -triple=aarch64-linux-gnu | FileCheck %s
--check-prefix=CHECK-LLVM
+
+_Atomic(float) f;
----------------
CarolineConcatto wrote:
Do you mind adding more tests:
void test_float_add(_Atomic(float) val) {
_Atomic(float) f;
f += val;
}
Just in case what happens if we have:
void test_float_add(_Atomic(float) val) {
_Atomic(float) f;
f = f + val;
}
https://github.com/llvm/llvm-project/pull/162679
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits