[clang] [clang][PowerPC] Add flag to enable compatibility with GNU for complex arguments (PR #77732)

Fangrui Song via cfe-commits cfe-commits at lists.llvm.org
Mon Aug 5 10:46:32 PDT 2024


================
@@ -0,0 +1,396 @@
+// NOTE: Assertions have been autogenerated by utils/update_cc_test_checks.py UTC_ARGS: --version 2
+
+// RUN: %clang_cc1 -triple powerpc-unknown-linux-gnu \
+// RUN:   -emit-llvm %s -o - | FileCheck %s --check-prefix=CHECK-DEF
+// RUN: %clang_cc1 -triple powerpc-unknown-linux-gnu -fcomplex-ppc-gnu-abi \
+// RUN:   -emit-llvm %s -o - | FileCheck %s --check-prefix=CHECK-GNU
+
----------------
MaskRay wrote:

We just use one single blank line as a separator.

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


More information about the cfe-commits mailing list