Remove x86.sse2.loadh.pd and x86.sse2.loadl.pd. These will be lowered into load and...
authorEvan Cheng <evan.cheng@apple.com>
Sat, 24 May 2008 00:07:06 +0000 (00:07 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Sat, 24 May 2008 00:07:06 +0000 (00:07 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51521 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/IntrinsicsX86.td
lib/Transforms/Scalar/LoopStrengthReduce.cpp

index 0484926d07698594e9c70ba5213198ebe09db572..8af50c152fb25adb5e1a84724d6748820345e51b 100644 (file)
@@ -507,12 +507,6 @@ let TargetPrefix = "x86" in {  // All intrinsics start with "llvm.x86.".
   def int_x86_sse2_movs_d : GCCBuiltin<"__builtin_ia32_movsd">,
               Intrinsic<[llvm_v2f64_ty, llvm_v2f64_ty,
                          llvm_v2f64_ty], [IntrNoMem]>;
-  def int_x86_sse2_loadh_pd : GCCBuiltin<"__builtin_ia32_loadhpd">,
-              Intrinsic<[llvm_v2f64_ty, llvm_v2f64_ty,
-                         llvm_ptr_ty], [IntrReadMem]>;
-  def int_x86_sse2_loadl_pd : GCCBuiltin<"__builtin_ia32_loadlpd">,
-              Intrinsic<[llvm_v2f64_ty, llvm_v2f64_ty,
-                         llvm_ptr_ty], [IntrReadMem]>;
   def int_x86_sse2_shuf_pd : GCCBuiltin<"__builtin_ia32_shufpd">,
               Intrinsic<[llvm_v2f64_ty, llvm_v2f64_ty,
                          llvm_v2f64_ty, llvm_i32_ty], [IntrNoMem]>;
index c65b83e9a56a5f9c77906f4c7075eff753c5f6f8..ad3d9d2ca43cbb45fa281411531ad081f360ab1a 100644 (file)
@@ -1119,11 +1119,6 @@ static bool isAddressUse(Instruction *Inst, Value *OperandVal) {
         if (II->getOperand(1) == OperandVal)
           isAddress = true;
         break;
-      case Intrinsic::x86_sse2_loadh_pd:
-      case Intrinsic::x86_sse2_loadl_pd:
-        if (II->getOperand(2) == OperandVal)
-          isAddress = true;
-        break;
     }
   }
   return isAddress;