[llvm-commits] [llvm-gcc-4.0] r43491 - /llvm-gcc-4.0/trunk/gcc/config/i386/llvm-i386.cpp
Dale Johannesen
dalej at apple.com
Mon Oct 29 18:45:17 PDT 2007
Author: johannes
Date: Mon Oct 29 20:45:17 2007
New Revision: 43491
URL: http://llvm.org/viewvc/llvm-project?rev=43491&view=rev
Log:
Revert PSLLQ/PSRLQ part of previous patch; this isn't
the right place to fix it.
Modified:
llvm-gcc-4.0/trunk/gcc/config/i386/llvm-i386.cpp
Modified: llvm-gcc-4.0/trunk/gcc/config/i386/llvm-i386.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.0/trunk/gcc/config/i386/llvm-i386.cpp?rev=43491&r1=43490&r2=43491&view=diff
==============================================================================
--- llvm-gcc-4.0/trunk/gcc/config/i386/llvm-i386.cpp (original)
+++ llvm-gcc-4.0/trunk/gcc/config/i386/llvm-i386.cpp Mon Oct 29 20:45:17 2007
@@ -113,8 +113,6 @@
case IX86_BUILTIN_PSLLQI: {
Function *psllq =
Intrinsic::getDeclaration(TheModule, Intrinsic::x86_mmx_psll_q);
- Ops[0] = Builder.CreateBitCast(Ops[0], MVT::getTypeForValueType(MVT::v2i32),
- "tmp");
Ops[1] = BuildVector(Ops[1], UndefValue::get(Type::Int32Ty), NULL);
Result = Builder.CreateCall(psllq, Ops.begin(), Ops.begin()+2, "tmp");
Result = Builder.CreateBitCast(Result, ResultType, "tmp");
@@ -166,8 +164,6 @@
case IX86_BUILTIN_PSRLQI: {
Function *psrlq =
Intrinsic::getDeclaration(TheModule, Intrinsic::x86_mmx_psrl_q);
- Ops[0] = Builder.CreateBitCast(Ops[0], MVT::getTypeForValueType(MVT::v2i32),
- "tmp");
Ops[1] = BuildVector(Ops[1], UndefValue::get(Type::Int32Ty), NULL);
Result = Builder.CreateCall(psrlq, Ops.begin(), Ops.begin()+2, "tmp");
Result = Builder.CreateBitCast(Result, ResultType, "tmp");
More information about the llvm-commits
mailing list