[llvm] r340875 - [X86] Remove GCCBuiltin from kadd intrinsics.
Craig Topper via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 28 15:05:55 PDT 2018
Author: ctopper
Date: Tue Aug 28 15:05:55 2018
New Revision: 340875
URL: http://llvm.org/viewvc/llvm-project?rev=340875&view=rev
Log:
[X86] Remove GCCBuiltin from kadd intrinsics.
We need to custom handle it in clang so we can bit cast to the mask type.
Modified:
llvm/trunk/include/llvm/IR/IntrinsicsX86.td
Modified: llvm/trunk/include/llvm/IR/IntrinsicsX86.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/IR/IntrinsicsX86.td?rev=340875&r1=340874&r2=340875&view=diff
==============================================================================
--- llvm/trunk/include/llvm/IR/IntrinsicsX86.td (original)
+++ llvm/trunk/include/llvm/IR/IntrinsicsX86.td Tue Aug 28 15:05:55 2018
@@ -2765,13 +2765,13 @@ let TargetPrefix = "x86" in { // All in
// Mask ops
let TargetPrefix = "x86" in {
- def int_x86_avx512_kadd_b : GCCBuiltin<"__builtin_ia32_kaddqi">,
+ def int_x86_avx512_kadd_b :
Intrinsic<[llvm_v8i1_ty], [llvm_v8i1_ty, llvm_v8i1_ty], [IntrNoMem]>;
- def int_x86_avx512_kadd_w : GCCBuiltin<"__builtin_ia32_kaddhi">,
+ def int_x86_avx512_kadd_w :
Intrinsic<[llvm_v16i1_ty], [llvm_v16i1_ty, llvm_v16i1_ty], [IntrNoMem]>;
- def int_x86_avx512_kadd_d : GCCBuiltin<"__builtin_ia32_kaddsi">,
+ def int_x86_avx512_kadd_d :
Intrinsic<[llvm_v32i1_ty], [llvm_v32i1_ty, llvm_v32i1_ty], [IntrNoMem]>;
- def int_x86_avx512_kadd_q : GCCBuiltin<"__builtin_ia32_kadddi">,
+ def int_x86_avx512_kadd_q :
Intrinsic<[llvm_v64i1_ty], [llvm_v64i1_ty, llvm_v64i1_ty], [IntrNoMem]>;
}
More information about the llvm-commits
mailing list