[cfe-commits] r105596 - /cfe/trunk/test/CodeGen/builtins-arm.c
Rafael Espindola
rafael.espindola at gmail.com
Mon Jun 7 20:59:28 PDT 2010
Author: rafael
Date: Mon Jun 7 22:59:28 2010
New Revision: 105596
URL: http://llvm.org/viewvc/llvm-project?rev=105596&view=rev
Log:
Add a test to the previous commit.
Modified:
cfe/trunk/test/CodeGen/builtins-arm.c
Modified: cfe/trunk/test/CodeGen/builtins-arm.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/builtins-arm.c?rev=105596&r1=105595&r2=105596&view=diff
==============================================================================
--- cfe/trunk/test/CodeGen/builtins-arm.c (original)
+++ cfe/trunk/test/CodeGen/builtins-arm.c Mon Jun 7 22:59:28 2010
@@ -1,6 +1,12 @@
-// RUN: %clang_cc1 -triple thumbv7-eabi -target-cpu cortex-a8 -O3 -emit-llvm -o %t %s
+// RUN: %clang_cc1 -Wall -Werror -triple thumbv7-eabi -target-cpu cortex-a8 -O3 -emit-llvm -o - %s | FileCheck %s
void *f0()
{
return __builtin_thread_pointer();
}
+
+void f1(char *a, char *b) {
+ __clear_cache(a,b);
+}
+
+// CHECK: call void @__clear_cache
More information about the cfe-commits
mailing list