aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2010-12-08 01:29:17 +0000
committerChandler Carruth <chandlerc@gmail.com>2010-12-08 01:29:17 +0000
commit9d8231afec576559a73b352678b30452e1e83232 (patch)
tree7c6ab7a685a7c1a9338ed9fce3f8ffdec55ed195
parentf203344728f604b7b95cbc093854d97da411dc6f (diff)
Silence an unused variable warning.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@121221 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/CodeGen/CGBuiltin.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/CodeGen/CGBuiltin.cpp b/lib/CodeGen/CGBuiltin.cpp
index 318c02aa43..d0bc709c54 100644
--- a/lib/CodeGen/CGBuiltin.cpp
+++ b/lib/CodeGen/CGBuiltin.cpp
@@ -1169,6 +1169,7 @@ Value *CodeGenFunction::EmitARMBuiltinExpr(unsigned BuiltinID,
bool usgn = type & 0x08;
bool quad = type & 0x10;
bool poly = (type & 0x7) == 5 || (type & 0x7) == 6;
+ (void)poly; // Only used in assert()s.
bool splat = false;
bool rightShift = false;