| Index: lib/Target/CBackend/CBackend.cpp
|
| ===================================================================
|
| --- lib/Target/CBackend/CBackend.cpp (revision 138929)
|
| +++ lib/Target/CBackend/CBackend.cpp (working copy)
|
| @@ -2842,11 +2842,15 @@
|
| case Intrinsic::longjmp:
|
| case Intrinsic::prefetch:
|
| case Intrinsic::powi:
|
| +#if defined(TARGET_ENABLED_X86)
|
| case Intrinsic::x86_sse_cmp_ss:
|
| case Intrinsic::x86_sse_cmp_ps:
|
| case Intrinsic::x86_sse2_cmp_sd:
|
| case Intrinsic::x86_sse2_cmp_pd:
|
| +#endif // TARGET_ENABLED_X86
|
| +#if defined(TARGET_ENABLED_POWERPC)
|
| case Intrinsic::ppc_altivec_lvsl:
|
| +#endif // TARGET_ENABLED_POWERPC
|
| case Intrinsic::uadd_with_overflow:
|
| case Intrinsic::sadd_with_overflow:
|
| // We directly implement these intrinsics
|
| @@ -3100,6 +3104,7 @@
|
| Out << "0; *((void**)&" << GetValueName(&I)
|
| << ") = __builtin_stack_save()";
|
| return true;
|
| +#if defined(TARGET_ENABLED_X86)
|
| case Intrinsic::x86_sse_cmp_ss:
|
| case Intrinsic::x86_sse_cmp_ps:
|
| case Intrinsic::x86_sse2_cmp_sd:
|
| @@ -3134,6 +3139,8 @@
|
| writeOperand(I.getArgOperand(1));
|
| Out << ")";
|
| return true;
|
| +#endif // TARGET_ENABLED_X86
|
| +#if defined(TARGET_ENABLED_POWERPC)
|
| case Intrinsic::ppc_altivec_lvsl:
|
| Out << '(';
|
| printType(Out, I.getType());
|
| @@ -3142,6 +3149,7 @@
|
| writeOperand(I.getArgOperand(0));
|
| Out << ")";
|
| return true;
|
| +#endif // TARGET_ENABLED_POWERPC
|
| case Intrinsic::uadd_with_overflow:
|
| case Intrinsic::sadd_with_overflow:
|
| Out << GetValueName(I.getCalledFunction()) << "(";
|
|
|