r197091 - [AArch64] Refactor NEON floating-point Max/Min/Maxnm/Minnm across vector AArch64
Chad Rosier
mcrosier at codeaurora.org
Wed Dec 11 15:21:39 PST 2013
Author: mcrosier
Date: Wed Dec 11 17:21:39 2013
New Revision: 197091
URL: http://llvm.org/viewvc/llvm-project?rev=197091&view=rev
Log:
[AArch64] Refactor NEON floating-point Max/Min/Maxnm/Minnm across vector AArch64
intrinsics to use f32 types, rather than their vector equivalents.
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=197091&r1=197090&r2=197091&view=diff
==============================================================================
--- cfe/trunk/lib/CodeGen/CGBuiltin.cpp (original)
+++ cfe/trunk/lib/CodeGen/CGBuiltin.cpp Wed Dec 11 17:21:39 2013
@@ -2098,16 +2098,16 @@ static Value *EmitAArch64ScalarBuiltinEx
s = "vaddv"; IntTypes = VectorRet | VectorCastArg1; break;
case AArch64::BI__builtin_neon_vmaxvq_f32:
Int = Intrinsic::aarch64_neon_vmaxv;
- s = "vmaxv"; IntTypes = VectorRet | VectorCastArg1; break;
+ s = "vmaxv"; break;
case AArch64::BI__builtin_neon_vminvq_f32:
Int = Intrinsic::aarch64_neon_vminv;
- s = "vminv"; IntTypes = VectorRet | VectorCastArg1; break;
+ s = "vminv"; break;
case AArch64::BI__builtin_neon_vmaxnmvq_f32:
Int = Intrinsic::aarch64_neon_vmaxnmv;
- s = "vmaxnmv"; IntTypes = VectorRet | VectorCastArg1; break;
+ s = "vmaxnmv"; break;
case AArch64::BI__builtin_neon_vminnmvq_f32:
Int = Intrinsic::aarch64_neon_vminnmv;
- s = "vminnmv"; IntTypes = VectorRet | VectorCastArg1; break;
+ s = "vminnmv"; break;
// Scalar Integer Saturating Doubling Multiply Half High
case AArch64::BI__builtin_neon_vqdmulhh_s16:
case AArch64::BI__builtin_neon_vqdmulhs_s32:
More information about the cfe-commits
mailing list