Skip to content

Commit aab58a9

Browse files
committed
remove ClangBuiltin from ops
1 parent 56f72b8 commit aab58a9

File tree

1 file changed

+6
-12
lines changed

1 file changed

+6
-12
lines changed

llvm/include/llvm/IR/IntrinsicsX86.td

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -626,17 +626,13 @@ let TargetPrefix = "x86" in { // All intrinsics start with "llvm.x86.".
626626

627627
// FP rounding ops
628628
let TargetPrefix = "x86" in { // All intrinsics start with "llvm.x86.".
629-
def int_x86_sse41_round_ss : ClangBuiltin<"__builtin_ia32_roundss">,
630-
DefaultAttrsIntrinsic<[llvm_v4f32_ty], [llvm_v4f32_ty, llvm_v4f32_ty,
629+
def int_x86_sse41_round_ss : DefaultAttrsIntrinsic<[llvm_v4f32_ty], [llvm_v4f32_ty, llvm_v4f32_ty,
631630
llvm_i32_ty], [IntrNoMem, ImmArg<ArgIndex<2>>]>;
632-
def int_x86_sse41_round_ps : ClangBuiltin<"__builtin_ia32_roundps">,
633-
DefaultAttrsIntrinsic<[llvm_v4f32_ty], [llvm_v4f32_ty,
631+
def int_x86_sse41_round_ps : DefaultAttrsIntrinsic<[llvm_v4f32_ty], [llvm_v4f32_ty,
634632
llvm_i32_ty], [IntrNoMem, ImmArg<ArgIndex<1>>]>;
635-
def int_x86_sse41_round_sd : ClangBuiltin<"__builtin_ia32_roundsd">,
636-
DefaultAttrsIntrinsic<[llvm_v2f64_ty], [llvm_v2f64_ty, llvm_v2f64_ty,
633+
def int_x86_sse41_round_sd : DefaultAttrsIntrinsic<[llvm_v2f64_ty], [llvm_v2f64_ty, llvm_v2f64_ty,
637634
llvm_i32_ty], [IntrNoMem, ImmArg<ArgIndex<2>>]>;
638-
def int_x86_sse41_round_pd : ClangBuiltin<"__builtin_ia32_roundpd">,
639-
DefaultAttrsIntrinsic<[llvm_v2f64_ty], [llvm_v2f64_ty,
635+
def int_x86_sse41_round_pd : DefaultAttrsIntrinsic<[llvm_v2f64_ty], [llvm_v2f64_ty,
640636
llvm_i32_ty], [IntrNoMem, ImmArg<ArgIndex<1>>]>;
641637
}
642638

@@ -921,11 +917,9 @@ let TargetPrefix = "x86" in { // All intrinsics start with "llvm.x86.".
921917
def int_x86_avx_rcp_ps_256 : ClangBuiltin<"__builtin_ia32_rcpps256">,
922918
DefaultAttrsIntrinsic<[llvm_v8f32_ty], [llvm_v8f32_ty], [IntrNoMem]>;
923919

924-
def int_x86_avx_round_pd_256 : ClangBuiltin<"__builtin_ia32_roundpd256">,
925-
DefaultAttrsIntrinsic<[llvm_v4f64_ty], [llvm_v4f64_ty, llvm_i32_ty],
920+
def int_x86_avx_round_pd_256 : DefaultAttrsIntrinsic<[llvm_v4f64_ty], [llvm_v4f64_ty, llvm_i32_ty],
926921
[IntrNoMem, ImmArg<ArgIndex<1>>]>;
927-
def int_x86_avx_round_ps_256 : ClangBuiltin<"__builtin_ia32_roundps256">,
928-
DefaultAttrsIntrinsic<[llvm_v8f32_ty], [llvm_v8f32_ty, llvm_i32_ty],
922+
def int_x86_avx_round_ps_256 : DefaultAttrsIntrinsic<[llvm_v8f32_ty], [llvm_v8f32_ty, llvm_i32_ty],
929923
[IntrNoMem, ImmArg<ArgIndex<1>>]>;
930924
}
931925

0 commit comments

Comments
 (0)