forked from OSchip/llvm-project
Translate NEON vmovn builtin to a vector truncation instead of using an llvm
intrinsic. llvm-svn: 112504
This commit is contained in:
parent
fef37287a8
commit
b9225f7f85
|
@ -1420,8 +1420,7 @@ Value *CodeGenFunction::EmitARMBuiltinExpr(unsigned BuiltinID,
|
|||
return Builder.CreateZExt(Ops[0], Ty, "vmovl");
|
||||
return Builder.CreateSExt(Ops[0], Ty, "vmovl");
|
||||
case ARM::BI__builtin_neon_vmovn_v:
|
||||
return EmitNeonCall(CGM.getIntrinsic(Intrinsic::arm_neon_vmovn, &Ty, 1),
|
||||
Ops, "vmovn");
|
||||
return Builder.CreateTrunc(Ops[0], Ty, "vmovn");
|
||||
case ARM::BI__builtin_neon_vmull_lane_v:
|
||||
splat = true;
|
||||
case ARM::BI__builtin_neon_vmull_v:
|
||||
|
|
Loading…
Reference in New Issue