summaryrefslogtreecommitdiffstats
path: root/test/CodeGen/fp128_complex.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/fp128_complex.c')
-rw-r--r--test/CodeGen/fp128_complex.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/CodeGen/fp128_complex.c b/test/CodeGen/fp128_complex.c
new file mode 100644
index 0000000..8775999
--- /dev/null
+++ b/test/CodeGen/fp128_complex.c
@@ -0,0 +1,9 @@
+// RUN: %clang -target aarch64-linux-gnuabi %s -O3 -S -emit-llvm -o - | FileCheck %s
+
+_Complex long double a, b, c, d;
+void test_fp128_compound_assign(void) {
+ // CHECK: tail call { fp128, fp128 } @__multc3
+ a *= b;
+ // CHECK: tail call { fp128, fp128 } @__divtc3
+ c /= d;
+}
OpenPOWER on IntegriCloud