[cfe-commits] r114890 - /cfe/trunk/lib/CodeGen/CGBuiltin.cpp
Bill Wendling
isanbard at gmail.com
Mon Sep 27 14:22:25 PDT 2010
Author: void
Date: Mon Sep 27 16:22:25 2010
New Revision: 114890
URL: http://llvm.org/viewvc/llvm-project?rev=114890&view=rev
Log:
Revert my patch changing the MMX "shift" intrinsics that take immediates into
"shift with non-immediate" intrinsics. It gets here because we they aren't
immediates anymore.
Modified:
cfe/trunk/lib/CodeGen/CGBuiltin.cpp
Modified: cfe/trunk/lib/CodeGen/CGBuiltin.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/CGBuiltin.cpp?rev=114890&r1=114889&r2=114890&view=diff
==============================================================================
--- cfe/trunk/lib/CodeGen/CGBuiltin.cpp (original)
+++ cfe/trunk/lib/CodeGen/CGBuiltin.cpp Mon Sep 27 16:22:25 2010
@@ -1952,35 +1952,35 @@
default: assert(0 && "Unsupported shift intrinsic!");
case X86::BI__builtin_ia32_pslldi:
name = "pslldi";
- ID = Intrinsic::x86_mmx_pslli_d;
+ ID = Intrinsic::x86_mmx_psll_d;
break;
case X86::BI__builtin_ia32_psllqi:
name = "psllqi";
- ID = Intrinsic::x86_mmx_pslli_q;
+ ID = Intrinsic::x86_mmx_psll_q;
break;
case X86::BI__builtin_ia32_psllwi:
name = "psllwi";
- ID = Intrinsic::x86_mmx_pslli_w;
+ ID = Intrinsic::x86_mmx_psll_w;
break;
case X86::BI__builtin_ia32_psradi:
name = "psradi";
- ID = Intrinsic::x86_mmx_psrai_d;
+ ID = Intrinsic::x86_mmx_psra_d;
break;
case X86::BI__builtin_ia32_psrawi:
name = "psrawi";
- ID = Intrinsic::x86_mmx_psrai_w;
+ ID = Intrinsic::x86_mmx_psra_w;
break;
case X86::BI__builtin_ia32_psrldi:
name = "psrldi";
- ID = Intrinsic::x86_mmx_psrli_d;
+ ID = Intrinsic::x86_mmx_psrl_d;
break;
case X86::BI__builtin_ia32_psrlqi:
name = "psrlqi";
- ID = Intrinsic::x86_mmx_psrli_q;
+ ID = Intrinsic::x86_mmx_psrl_q;
break;
case X86::BI__builtin_ia32_psrlwi:
name = "psrlwi";
- ID = Intrinsic::x86_mmx_psrli_w;
+ ID = Intrinsic::x86_mmx_psrl_w;
break;
}
llvm::Function *F = CGM.getIntrinsic(ID);
More information about the cfe-commits
mailing list