1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 11:13:28 +01:00

AMDGPU: Partially revert r366250

GCCBuiltin doesn't work for these, because they have a mangled type
(although they arguably should not).

llvm-svn: 366271
This commit is contained in:
Matt Arsenault 2019-07-16 22:00:10 +00:00
parent fa4aa724b9
commit 43f49686e8

View File

@ -1249,15 +1249,12 @@ def int_amdgcn_ds_swizzle :
Intrinsic<[llvm_i32_ty], [llvm_i32_ty, llvm_i32_ty],
[IntrNoMem, IntrConvergent, ImmArg<1>]>;
def int_amdgcn_ubfe :
GCCBuiltin<"__builtin_amdgcn_ubfe">,
Intrinsic<[llvm_anyint_ty],
def int_amdgcn_ubfe : Intrinsic<[llvm_anyint_ty],
[LLVMMatchType<0>, llvm_i32_ty, llvm_i32_ty],
[IntrNoMem, IntrSpeculatable]
>;
def int_amdgcn_sbfe : GCCBuiltin<"__builtin_amdgcn_sbfe">,
Intrinsic<[llvm_anyint_ty],
def int_amdgcn_sbfe : Intrinsic<[llvm_anyint_ty],
[LLVMMatchType<0>, llvm_i32_ty, llvm_i32_ty],
[IntrNoMem, IntrSpeculatable]
>;