[cfe-commits] r128607 - /cfe/trunk/lib/CodeGen/CGBuiltin.cpp

Matt Beaumont-Gay matthewbg at google.com
Wed Mar 30 18:56:27 PDT 2011


Author: matthewbg
Date: Wed Mar 30 20:56:27 2011
New Revision: 128607

URL: http://llvm.org/viewvc/llvm-project?rev=128607&view=rev
Log:
Oops, prefer C-style cast here

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=128607&r1=128606&r2=128607&view=diff
==============================================================================
--- cfe/trunk/lib/CodeGen/CGBuiltin.cpp (original)
+++ cfe/trunk/lib/CodeGen/CGBuiltin.cpp Wed Mar 30 20:56:27 2011
@@ -1465,7 +1465,7 @@
                         Ops, "vmul");
   case ARM::BI__builtin_neon_vmull_v:
     Int = usgn ? Intrinsic::arm_neon_vmullu : Intrinsic::arm_neon_vmulls;
-    Int = poly ? unsigned(Intrinsic::arm_neon_vmullp) : Int;
+    Int = poly ? (unsigned)Intrinsic::arm_neon_vmullp : Int;
     return EmitNeonCall(CGM.getIntrinsic(Int, &Ty, 1), Ops, "vmull");
   case ARM::BI__builtin_neon_vpadal_v:
   case ARM::BI__builtin_neon_vpadalq_v: {





More information about the cfe-commits mailing list