diff options
author | Joey Gouly <joey.gouly@arm.com> | 2013-10-02 10:00:18 +0000 |
---|---|---|
committer | Joey Gouly <joey.gouly@arm.com> | 2013-10-02 10:00:18 +0000 |
commit | 75987a65f393b13dbe63bef03500dfac035c3e10 (patch) | |
tree | 2bf3c5c0bbfdd9007d1eb81b5e676a1bed444302 /clang/test/CodeGen/builtins-arm.c | |
parent | 9fe6a3b9b1c98b76045782ad66e607d4c914d65a (diff) | |
download | bcm5719-llvm-75987a65f393b13dbe63bef03500dfac035c3e10.tar.gz bcm5719-llvm-75987a65f393b13dbe63bef03500dfac035c3e10.zip |
[ARM] Add a builtin to allow you to use the 'sevl' instruction.
llvm-svn: 191816
Diffstat (limited to 'clang/test/CodeGen/builtins-arm.c')
-rw-r--r-- | clang/test/CodeGen/builtins-arm.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/clang/test/CodeGen/builtins-arm.c b/clang/test/CodeGen/builtins-arm.c index e6c7cede1fd..f8c7f730a9a 100644 --- a/clang/test/CodeGen/builtins-arm.c +++ b/clang/test/CodeGen/builtins-arm.c @@ -18,3 +18,9 @@ void test_eh_return_data_regno() res = __builtin_eh_return_data_regno(0); // CHECK: store volatile i32 0 res = __builtin_eh_return_data_regno(1); // CHECK: store volatile i32 1 } + +void sevl() { + __builtin_arm_sevl(); +} + +// CHECK: call {{.*}} @llvm.arm.sevl |