[cfe-commits] r90208 - /cfe/trunk/lib/CodeGen/CGBuiltin.cpp
Eric Christopher
echristo at apple.com
Mon Nov 30 21:00:51 PST 2009
Author: echristo
Date: Mon Nov 30 23:00:51 2009
New Revision: 90208
URL: http://llvm.org/viewvc/llvm-project?rev=90208&view=rev
Log:
Update for llvm intrinsics change.
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=90208&r1=90207&r2=90208&view=diff
==============================================================================
--- cfe/trunk/lib/CodeGen/CGBuiltin.cpp (original)
+++ cfe/trunk/lib/CodeGen/CGBuiltin.cpp Mon Nov 30 23:00:51 2009
@@ -815,6 +815,13 @@
Ops[0] = Builder.CreateBitCast(Ops[0], PtrTy);
return Builder.CreateStore(Ops[1], Ops[0]);
}
+ case X86::BI__builtin_ia32_palignr128:
+ case X86::BI__builtin_ia32_palignr: {
+ Function *F = CGM.getIntrinsic(BuiltinID == X86::BI__builtin_ia32_palignr128 ?
+ Intrinsic::x86_ssse3_palign_r_128 :
+ Intrinsic::x86_ssse3_palign_r);
+ return Builder.CreateCall(F, &Ops[0], &Ops[0] + Ops.size());
+ }
}
}
More information about the cfe-commits
mailing list