diff options
author | Chris Lattner <sabre@nondot.org> | 2010-03-03 19:03:45 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-03-03 19:03:45 +0000 |
commit | 2752c0137d95aa2f4ee1cdff4b564bac842e041b (patch) | |
tree | adfe7d8f25bdb1a4dfe2a5f2120c45da5fd86533 /test/CodeGen/builtins-arm.c | |
parent | 792bea97c42dabffce457cc79f6bfede9ed21712 (diff) | |
download | clang-2752c0137d95aa2f4ee1cdff4b564bac842e041b.tar.gz |
add framework for ARM builtins, Patch by Edmund Grimley Evans!
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@97656 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/builtins-arm.c')
-rw-r--r-- | test/CodeGen/builtins-arm.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/CodeGen/builtins-arm.c b/test/CodeGen/builtins-arm.c new file mode 100644 index 0000000000..5553757549 --- /dev/null +++ b/test/CodeGen/builtins-arm.c @@ -0,0 +1,6 @@ +// RUN: %clang_cc1 -triple thumbv7-eabi -target-cpu cortex-a8 -O3 -emit-llvm -o %t %s + +void *f0() +{ + return __builtin_thread_pointer(); +} |