1 ; RUN: llc -mtriple=armv8-eabi %s -o - | FileCheck %s
5 define i32 @rbit(i32 %t) {
7 %rbit = call i32 @llvm.arm.rbit(i32 %t)
11 ; CHECK-LABEL: rbit_constant
15 define i32 @rbit_constant() {
17 %rbit.i = call i32 @llvm.arm.rbit(i32 0)
21 declare i32 @llvm.arm.rbit(i32)
23 declare i32 @llvm.bitreverse.i32(i32) readnone
25 ; CHECK-LABEL: rbit_generic
27 define i32 @rbit_generic(i32 %t) {
29 %rbit = call i32 @llvm.bitreverse.i32(i32 %t)