r194920 - Remove unused but set variable.

Benjamin Kramer benny.kra at googlemail.com
Sat Nov 16 03:47:54 PST 2013


Author: d0k
Date: Sat Nov 16 05:47:52 2013
New Revision: 194920

URL: http://llvm.org/viewvc/llvm-project?rev=194920&view=rev
Log:
Remove unused but set variable.

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=194920&r1=194919&r2=194920&view=diff
==============================================================================
--- cfe/trunk/lib/CodeGen/CGBuiltin.cpp (original)
+++ cfe/trunk/lib/CodeGen/CGBuiltin.cpp Sat Nov 16 05:47:52 2013
@@ -1776,10 +1776,6 @@ static Value *EmitAArch64ScalarBuiltinEx
   case AArch64::BI__builtin_neon_vfmas_laneq_f32:
   case AArch64::BI__builtin_neon_vfmad_lane_f64:
   case AArch64::BI__builtin_neon_vfmad_laneq_f64: {
-    bool Quad = false;
-    if (BuiltinID == AArch64::BI__builtin_neon_vfmas_laneq_f32 ||
-      BuiltinID == AArch64::BI__builtin_neon_vfmad_laneq_f64)
-      Quad = true;
     llvm::Type *Ty = CGF.ConvertType(E->getCallReturnType());
     Value *F = CGF.CGM.getIntrinsic(Intrinsic::fma, Ty);
     // extract lane acc += x * v[i]





More information about the cfe-commits mailing list