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

llvm-svn: 211064

clang/test/CodeGen/builtins-arm64.c

index 6e246ed..9e3460c 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);
 }