commit | 2752c0137d95aa2f4ee1cdff4b564bac842e041b | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Wed Mar 03 19:03:45 2010 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Wed Mar 03 19:03:45 2010 +0000 |
tree | adfe7d8f25bdb1a4dfe2a5f2120c45da5fd86533 | |
parent | 792bea97c42dabffce457cc79f6bfede9ed21712 [diff] [blame] |
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
diff --git a/test/CodeGen/builtins-arm.c b/test/CodeGen/builtins-arm.c new file mode 100644 index 0000000..5553757 --- /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(); +}