Index: lib/Transforms/Scalar/LoopStrengthReduce.cpp |
=================================================================== |
--- lib/Transforms/Scalar/LoopStrengthReduce.cpp (revision 138929) |
+++ lib/Transforms/Scalar/LoopStrengthReduce.cpp (working copy) |
@@ -581,10 +581,12 @@ |
switch (II->getIntrinsicID()) { |
default: break; |
case Intrinsic::prefetch: |
+#if defined(TARGET_ENABLED_X86) |
case Intrinsic::x86_sse_storeu_ps: |
case Intrinsic::x86_sse2_storeu_pd: |
case Intrinsic::x86_sse2_storeu_dq: |
case Intrinsic::x86_sse2_storel_dq: |
+#endif // TARGET_ENABLED_X86 |
if (II->getArgOperand(0) == OperandVal) |
isAddress = true; |
break; |
@@ -603,12 +605,14 @@ |
// of intrinsics. |
switch (II->getIntrinsicID()) { |
default: break; |
+#if defined(TARGET_ENABLED_X86) |
case Intrinsic::x86_sse_storeu_ps: |
case Intrinsic::x86_sse2_storeu_pd: |
case Intrinsic::x86_sse2_storeu_dq: |
case Intrinsic::x86_sse2_storel_dq: |
AccessTy = II->getArgOperand(0)->getType(); |
break; |
+#endif // TARGET_ENABLED_X86 |
} |
} |