2012-07-10 02:34:21 +08:00
|
|
|
// REQUIRES: arm-registered-target
|
2010-06-08 11:59:28 +08:00
|
|
|
// RUN: %clang_cc1 -Wall -Werror -triple thumbv7-eabi -target-cpu cortex-a8 -O3 -emit-llvm -o - %s | FileCheck %s
|
2010-03-04 03:03:45 +08:00
|
|
|
|
|
|
|
void *f0()
|
|
|
|
{
|
|
|
|
return __builtin_thread_pointer();
|
|
|
|
}
|
2010-06-08 11:59:28 +08:00
|
|
|
|
|
|
|
void f1(char *a, char *b) {
|
|
|
|
__clear_cache(a,b);
|
|
|
|
}
|
|
|
|
|
2010-07-16 08:31:23 +08:00
|
|
|
// CHECK: call {{.*}} @__clear_cache
|