Skip to content

Commit 21f2858

Browse files
committed
AMDGPU: Partially revert r366250
GCCBuiltin doesn't work for these, because they have a mangled type (although they arguably should not). llvm-svn: 366271
1 parent c23619b commit 21f2858

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

llvm/include/llvm/IR/IntrinsicsAMDGPU.td

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1249,15 +1249,12 @@ def int_amdgcn_ds_swizzle :
12491249
Intrinsic<[llvm_i32_ty], [llvm_i32_ty, llvm_i32_ty],
12501250
[IntrNoMem, IntrConvergent, ImmArg<1>]>;
12511251

1252-
def int_amdgcn_ubfe :
1253-
GCCBuiltin<"__builtin_amdgcn_ubfe">,
1254-
Intrinsic<[llvm_anyint_ty],
1252+
def int_amdgcn_ubfe : Intrinsic<[llvm_anyint_ty],
12551253
[LLVMMatchType<0>, llvm_i32_ty, llvm_i32_ty],
12561254
[IntrNoMem, IntrSpeculatable]
12571255
>;
12581256

1259-
def int_amdgcn_sbfe : GCCBuiltin<"__builtin_amdgcn_sbfe">,
1260-
Intrinsic<[llvm_anyint_ty],
1257+
def int_amdgcn_sbfe : Intrinsic<[llvm_anyint_ty],
12611258
[LLVMMatchType<0>, llvm_i32_ty, llvm_i32_ty],
12621259
[IntrNoMem, IntrSpeculatable]
12631260
>;

0 commit comments

Comments
 (0)