[PATCH] D48280: lower cmp intrisics - remove two GCCBuiltins

Gabor Buella via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 18 07:04:15 PDT 2018


GBuella created this revision.
GBuella added reviewers: craig.topper, uriel.k, RKSimon, andrew.w.kaylor, spatel, scanon, efriedma.
Herald added a subscriber: llvm-commits.

Remove these GCCBuiltins:
__builtin_ia32_cmpsd
__builtin_ia32_cmpss
This a change corresponding to the clang change in
https://reviews.llvm.org/D45616


Repository:
  rL LLVM

https://reviews.llvm.org/D48280

Files:
  include/llvm/IR/IntrinsicsX86.td


Index: include/llvm/IR/IntrinsicsX86.td
===================================================================
--- include/llvm/IR/IntrinsicsX86.td
+++ include/llvm/IR/IntrinsicsX86.td
@@ -208,7 +208,7 @@
 
 // Comparison ops
 let TargetPrefix = "x86" in {  // All intrinsics start with "llvm.x86.".
-  def int_x86_sse_cmp_ss : GCCBuiltin<"__builtin_ia32_cmpss">,
+  def int_x86_sse_cmp_ss :
               Intrinsic<[llvm_v4f32_ty], [llvm_v4f32_ty,
                          llvm_v4f32_ty, llvm_i8_ty], [IntrNoMem]>;
   def int_x86_sse_cmp_ps :
@@ -314,7 +314,7 @@
 
 // FP comparison ops
 let TargetPrefix = "x86" in {  // All intrinsics start with "llvm.x86.".
-  def int_x86_sse2_cmp_sd : GCCBuiltin<"__builtin_ia32_cmpsd">,
+  def int_x86_sse2_cmp_sd :
               Intrinsic<[llvm_v2f64_ty], [llvm_v2f64_ty,
                          llvm_v2f64_ty, llvm_i8_ty], [IntrNoMem]>;
   def int_x86_sse2_cmp_pd :


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D48280.151709.patch
Type: text/x-patch
Size: 910 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180618/79856a5b/attachment.bin>


More information about the llvm-commits mailing list