[llvm_anyfloat_ty], [LLVMMatchType<0>], [IntrNoMem]
>;
- // Deprecated in favor of llvm.bitreverse
- def int_AMDGPU_brev : Intrinsic<[llvm_i32_ty], [llvm_i32_ty], [IntrNoMem]>;
-
// Deprecated in favor of llvm.amdgcn.s.barrier
def int_AMDGPU_barrier_local : Intrinsic<[], [], [IntrConvergent]>;
def int_AMDGPU_barrier_global : Intrinsic<[], [], [IntrConvergent]>;
declare <2 x i64> @llvm.bitreverse.v2i64(<2 x i64>) #1
declare <4 x i64> @llvm.bitreverse.v4i64(<4 x i64>) #1
-declare i32 @llvm.AMDGPU.brev(i32) #1
-
; FUNC-LABEL: {{^}}s_brev_i16:
; SI: s_brev_b32
define void @s_brev_i16(i16 addrspace(1)* noalias %out, i16 %val) #0 {
ret void
}
-; FUNC-LABEL: {{^}}legacy_s_brev_i32:
-; SI: s_brev_b32
-define void @legacy_s_brev_i32(i32 addrspace(1)* noalias %out, i32 %val) nounwind {
- %brev = call i32 @llvm.AMDGPU.brev(i32 %val) #1
- store i32 %brev, i32 addrspace(1)* %out
- ret void
-}
-
attributes #0 = { nounwind }
attributes #1 = { nounwind readnone }