summaryrefslogtreecommitdiffstats
path: root/test/CodeGen/builtins-aarch64.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/builtins-aarch64.c')
-rw-r--r--test/CodeGen/builtins-aarch64.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/CodeGen/builtins-aarch64.c b/test/CodeGen/builtins-aarch64.c
new file mode 100644
index 0000000..8a93cb4
--- /dev/null
+++ b/test/CodeGen/builtins-aarch64.c
@@ -0,0 +1,6 @@
+// RUN: %clang_cc1 -triple aarch64-none-linux-gnu -O3 -emit-llvm -o - %s | FileCheck %s
+
+void f0(char *a, char *b) {
+ __clear_cache(a,b);
+// CHECK: call {{.*}} @__clear_cache
+}
OpenPOWER on IntegriCloud