diff --git a/include/llvm/IntrinsicsX86.td b/include/llvm/IntrinsicsX86.td index 0484926d076..8af50c152fb 100644 --- a/include/llvm/IntrinsicsX86.td +++ b/include/llvm/IntrinsicsX86.td @@ -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]>; diff --git a/lib/Transforms/Scalar/LoopStrengthReduce.cpp b/lib/Transforms/Scalar/LoopStrengthReduce.cpp index c65b83e9a56..ad3d9d2ca43 100644 --- a/lib/Transforms/Scalar/LoopStrengthReduce.cpp +++ b/lib/Transforms/Scalar/LoopStrengthReduce.cpp @@ -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;