[llvm-commits] [llvm-gcc-4.2] r78633 - /llvm-gcc-4.2/trunk/gcc/config/arm/llvm-arm.cpp

Bob Wilson bob.wilson at apple.com
Mon Aug 10 18:17:49 PDT 2009


Author: bwilson
Date: Mon Aug 10 20:17:49 2009
New Revision: 78633

URL: http://llvm.org/viewvc/llvm-project?rev=78633&view=rev
Log:
Update to match changes in LLVM intrinsics for VPADD.

Modified:
    llvm-gcc-4.2/trunk/gcc/config/arm/llvm-arm.cpp

Modified: llvm-gcc-4.2/trunk/gcc/config/arm/llvm-arm.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/config/arm/llvm-arm.cpp?rev=78633&r1=78632&r2=78633&view=diff

==============================================================================
--- llvm-gcc-4.2/trunk/gcc/config/arm/llvm-arm.cpp (original)
+++ llvm-gcc-4.2/trunk/gcc/config/arm/llvm-arm.cpp Mon Aug 10 20:17:49 2009
@@ -1476,11 +1476,10 @@
     break;
 
   case NEON_BUILTIN_vpadd:
-    if (datatype == neon_datatype_float)
-      intID = Intrinsic::arm_neon_vpaddf;
-    else if (datatype == neon_datatype_signed ||
-             datatype == neon_datatype_unsigned)
-      intID = Intrinsic::arm_neon_vpaddi;
+    if (datatype == neon_datatype_float ||
+        datatype == neon_datatype_signed ||
+        datatype == neon_datatype_unsigned)
+      intID = Intrinsic::arm_neon_vpadd;
     else
       return BadImmediateError(exp, Result);
 





More information about the llvm-commits mailing list