r204599 - Fix a compile-time warning
Timur Iskhodzhanov
timurrrr at google.com
Mon Mar 24 04:09:01 PDT 2014
Author: timurrrr
Date: Mon Mar 24 06:09:01 2014
New Revision: 204599
URL: http://llvm.org/viewvc/llvm-project?rev=204599&view=rev
Log:
Fix a compile-time warning
lib/CodeGen/CGBuiltin.cpp:3136:12: warning: variable ‘TblPos’ set but not used [-Wunused-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=204599&r1=204598&r2=204599&view=diff
==============================================================================
--- cfe/trunk/lib/CodeGen/CGBuiltin.cpp (original)
+++ cfe/trunk/lib/CodeGen/CGBuiltin.cpp Mon Mar 24 06:09:01 2014
@@ -3133,7 +3133,6 @@ static Value *EmitAArch64TblBuiltinExpr(
unsigned int Int = 0;
const char *s = NULL;
- unsigned TblPos;
switch (BuiltinID) {
default:
return 0;
@@ -3149,8 +3148,6 @@ static Value *EmitAArch64TblBuiltinExpr(
case NEON::BI__builtin_neon_vtbl4_v:
case NEON::BI__builtin_neon_vqtbl4_v:
case NEON::BI__builtin_neon_vqtbl4q_v:
- TblPos = 0;
- break;
case NEON::BI__builtin_neon_vtbx1_v:
case NEON::BI__builtin_neon_vqtbx1_v:
case NEON::BI__builtin_neon_vqtbx1q_v:
@@ -3163,7 +3160,6 @@ static Value *EmitAArch64TblBuiltinExpr(
case NEON::BI__builtin_neon_vtbx4_v:
case NEON::BI__builtin_neon_vqtbx4_v:
case NEON::BI__builtin_neon_vqtbx4q_v:
- TblPos = 1;
break;
}
More information about the cfe-commits
mailing list