The MMX shift-with-immediate builtins require the equivalent
shift-with-immediate LLVM intrinsics.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@114239 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/CodeGen/CGBuiltin.cpp b/lib/CodeGen/CGBuiltin.cpp
index 986f621..56078a0 100644
--- a/lib/CodeGen/CGBuiltin.cpp
+++ b/lib/CodeGen/CGBuiltin.cpp
@@ -1944,35 +1944,35 @@
     default: assert(0 && "Unsupported shift intrinsic!");
     case X86::BI__builtin_ia32_pslldi:
       name = "pslldi";
-      ID = Intrinsic::x86_mmx_psll_d;
+      ID = Intrinsic::x86_mmx_pslli_d;
       break;
     case X86::BI__builtin_ia32_psllqi:
       name = "psllqi";
-      ID = Intrinsic::x86_mmx_psll_q;
+      ID = Intrinsic::x86_mmx_pslli_q;
       break;
     case X86::BI__builtin_ia32_psllwi:
       name = "psllwi";
-      ID = Intrinsic::x86_mmx_psll_w;
+      ID = Intrinsic::x86_mmx_pslli_w;
       break;
     case X86::BI__builtin_ia32_psradi:
       name = "psradi";
-      ID = Intrinsic::x86_mmx_psra_d;
+      ID = Intrinsic::x86_mmx_psrai_d;
       break;
     case X86::BI__builtin_ia32_psrawi:
       name = "psrawi";
-      ID = Intrinsic::x86_mmx_psra_w;
+      ID = Intrinsic::x86_mmx_psrai_w;
       break;
     case X86::BI__builtin_ia32_psrldi:
       name = "psrldi";
-      ID = Intrinsic::x86_mmx_psrl_d;
+      ID = Intrinsic::x86_mmx_psrli_d;
       break;
     case X86::BI__builtin_ia32_psrlqi:
       name = "psrlqi";
-      ID = Intrinsic::x86_mmx_psrl_q;
+      ID = Intrinsic::x86_mmx_psrli_q;
       break;
     case X86::BI__builtin_ia32_psrlwi:
       name = "psrlwi";
-      ID = Intrinsic::x86_mmx_psrl_w;
+      ID = Intrinsic::x86_mmx_psrli_w;
       break;
     }
     llvm::Function *F = CGM.getIntrinsic(ID);