summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/X86/X86ISelLowering.cpp
diff options
context:
space:
mode:
authorNick Lewycky <nicholas@mxc.ca>2015-02-20 07:16:17 +0000
committerNick Lewycky <nicholas@mxc.ca>2015-02-20 07:16:17 +0000
commita2bda088067497b02e0b2a3352410d399c003b54 (patch)
tree226dc33dd4b8e2623ced07d037ba40d1731d43b4 /llvm/lib/Target/X86/X86ISelLowering.cpp
parenteb3231eefae033f58e64c741dd0c77cd30b8a7ae (diff)
downloadbcm5719-llvm-a2bda088067497b02e0b2a3352410d399c003b54.tar.gz
bcm5719-llvm-a2bda088067497b02e0b2a3352410d399c003b54.zip
Fix build in release mode, -Wunused-variable on this lambda function used only in an assert.
llvm-svn: 229977
Diffstat (limited to 'llvm/lib/Target/X86/X86ISelLowering.cpp')
-rw-r--r--llvm/lib/Target/X86/X86ISelLowering.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Target/X86/X86ISelLowering.cpp b/llvm/lib/Target/X86/X86ISelLowering.cpp
index ab02f14413c..32a5be3a16b 100644
--- a/llvm/lib/Target/X86/X86ISelLowering.cpp
+++ b/llvm/lib/Target/X86/X86ISelLowering.cpp
@@ -8241,6 +8241,7 @@ static SDValue lowerV8I16VectorShuffle(SDValue Op, SDValue V1, SDValue V2,
return ZExt;
auto isV1 = [](int M) { return M >= 0 && M < 8; };
+ (void)isV1;
auto isV2 = [](int M) { return M >= 8; };
int NumV2Inputs = std::count_if(Mask.begin(), Mask.end(), isV2);
OpenPOWER on IntegriCloud