Update for llvm intrinsics change.

llvm-svn: 90208
This commit is contained in:
Eric Christopher 2009-12-01 05:00:51 +00:00
parent 5406614be9
commit c377c81dcf
1 changed files with 7 additions and 0 deletions

View File

@ -815,6 +815,13 @@ Value *CodeGenFunction::EmitX86BuiltinExpr(unsigned BuiltinID,
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());
}
}
}