]> granicus.if.org Git - clang/commitdiff
AArch64: Fix silly think-o in tests.
authorJim Grosbach <grosbach@apple.com>
Mon, 16 Jun 2014 22:18:26 +0000 (22:18 +0000)
committerJim Grosbach <grosbach@apple.com>
Mon, 16 Jun 2014 22:18:26 +0000 (22:18 +0000)
rdar://9283021

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@211064 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/builtins-arm64.c

index 6e246ed7ce2aee2391fb31983f89e89e577e4f81..9e3460c866081ec006455d3e42a3ad9fe9f50b41 100644 (file)
@@ -6,11 +6,11 @@ void f0(void *a, void *b) {
 }
 
 // CHECK: call {{.*}} @llvm.aarch64.rbit.i32(i32 %a)
-void rbit(unsigned a) {
-  __builtin_arm_rbit(a);
+unsigned rbit(unsigned a) {
+  return __builtin_arm_rbit(a);
 }
 
 // CHECK: call {{.*}} @llvm.aarch64.rbit.i64(i64 %a)
-void rbit64(unsigned long long a) {
-  __builtin_arm_rbit64(a);
+unsigned long long rbit64(unsigned long long a) {
+  return __builtin_arm_rbit64(a);
 }