From ff763aa60edd2903ca6503525f089ecf073dc274 Mon Sep 17 00:00:00 2001 From: Craig Topper Date: Mon, 8 Jan 2018 22:37:49 +0000 Subject: [PATCH] [X86] Remove GCCBuiltin from int_x86_avx512_cvtb2mask_128 and similar intrinsics. I'm going to convert these to 'icmp slt X, zeroinitializer' in clang's CGBuiltin.cpp, but the GCCBuiltin names need to be removed to do that. llvm-svn: 322037 --- include/llvm/IR/IntrinsicsX86.td | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/include/llvm/IR/IntrinsicsX86.td b/include/llvm/IR/IntrinsicsX86.td index bd6177c5b3d..e5ab18eedad 100644 --- a/include/llvm/IR/IntrinsicsX86.td +++ b/include/llvm/IR/IntrinsicsX86.td @@ -3802,32 +3802,32 @@ let TargetPrefix = "x86" in { // All intrinsics start with "llvm.x86.". Intrinsic<[llvm_v2f64_ty], [llvm_v2f64_ty, llvm_i64_ty, llvm_i32_ty], [IntrNoMem]>; - def int_x86_avx512_cvtb2mask_128 : GCCBuiltin<"__builtin_ia32_cvtb2mask128">, + def int_x86_avx512_cvtb2mask_128 : // TODO remove this intrinsic Intrinsic<[llvm_i16_ty], [llvm_v16i8_ty], [IntrNoMem]>; - def int_x86_avx512_cvtb2mask_256 : GCCBuiltin<"__builtin_ia32_cvtb2mask256">, + def int_x86_avx512_cvtb2mask_256 : // TODO remove this intrinsic Intrinsic<[llvm_i32_ty], [llvm_v32i8_ty], [IntrNoMem]>; - def int_x86_avx512_cvtb2mask_512 : GCCBuiltin<"__builtin_ia32_cvtb2mask512">, + def int_x86_avx512_cvtb2mask_512 : // TODO remove this intrinsic Intrinsic<[llvm_i64_ty], [llvm_v64i8_ty], [IntrNoMem]>; - def int_x86_avx512_cvtw2mask_128 : GCCBuiltin<"__builtin_ia32_cvtw2mask128">, + def int_x86_avx512_cvtw2mask_128 : // TODO remove this intrinsic Intrinsic<[llvm_i8_ty], [llvm_v8i16_ty], [IntrNoMem]>; - def int_x86_avx512_cvtw2mask_256 : GCCBuiltin<"__builtin_ia32_cvtw2mask256">, + def int_x86_avx512_cvtw2mask_256 : // TODO remove this intrinsic Intrinsic<[llvm_i16_ty], [llvm_v16i16_ty], [IntrNoMem]>; - def int_x86_avx512_cvtw2mask_512 : GCCBuiltin<"__builtin_ia32_cvtw2mask512">, + def int_x86_avx512_cvtw2mask_512 : // TODO remove this intrinsic Intrinsic<[llvm_i32_ty], [llvm_v32i16_ty], [IntrNoMem]>; - def int_x86_avx512_cvtd2mask_128 : GCCBuiltin<"__builtin_ia32_cvtd2mask128">, + def int_x86_avx512_cvtd2mask_128 : // TODO remove this intrinsic Intrinsic<[llvm_i8_ty], [llvm_v4i32_ty], [IntrNoMem]>; - def int_x86_avx512_cvtd2mask_256 : GCCBuiltin<"__builtin_ia32_cvtd2mask256">, + def int_x86_avx512_cvtd2mask_256 : // TODO remove this intrinsic Intrinsic<[llvm_i8_ty], [llvm_v8i32_ty], [IntrNoMem]>; - def int_x86_avx512_cvtd2mask_512 : GCCBuiltin<"__builtin_ia32_cvtd2mask512">, + def int_x86_avx512_cvtd2mask_512 : // TODO remove this intrinsic Intrinsic<[llvm_i16_ty], [llvm_v16i32_ty], [IntrNoMem]>; - def int_x86_avx512_cvtq2mask_128 : GCCBuiltin<"__builtin_ia32_cvtq2mask128">, + def int_x86_avx512_cvtq2mask_128 : // TODO remove this intrinsic Intrinsic<[llvm_i8_ty], [llvm_v2i64_ty], [IntrNoMem]>; - def int_x86_avx512_cvtq2mask_256 : GCCBuiltin<"__builtin_ia32_cvtq2mask256">, + def int_x86_avx512_cvtq2mask_256 : // TODO remove this intrinsic Intrinsic<[llvm_i8_ty], [llvm_v4i64_ty], [IntrNoMem]>; - def int_x86_avx512_cvtq2mask_512 : GCCBuiltin<"__builtin_ia32_cvtq2mask512">, + def int_x86_avx512_cvtq2mask_512 : // TODO remove this intrinsic Intrinsic<[llvm_i8_ty], [llvm_v8i64_ty], [IntrNoMem]>; }