diff options
author | Eric Liu <ioeric@google.com> | 2018-10-12 15:01:11 +0000 |
---|---|---|
committer | Eric Liu <ioeric@google.com> | 2018-10-12 15:01:11 +0000 |
commit | 55ab86b72b4947345c4fc204f773800ef2a09b08 (patch) | |
tree | e281ac47920b05c42ece3f823b22d82cc9f49ec3 /llvm/lib | |
parent | b8339c0167e6329c8b0ebf3fd8359e8cd817a74e (diff) | |
download | bcm5719-llvm-55ab86b72b4947345c4fc204f773800ef2a09b08.tar.gz bcm5719-llvm-55ab86b72b4947345c4fc204f773800ef2a09b08.zip |
Fix unused variable warning after r344348
llvm-svn: 344350
Diffstat (limited to 'llvm/lib')
-rw-r--r-- | llvm/lib/Target/X86/X86ISelLowering.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Target/X86/X86ISelLowering.cpp b/llvm/lib/Target/X86/X86ISelLowering.cpp index d2971d0f861..872d90ad004 100644 --- a/llvm/lib/Target/X86/X86ISelLowering.cpp +++ b/llvm/lib/Target/X86/X86ISelLowering.cpp @@ -25024,6 +25024,7 @@ static SDValue LowerVectorCTPOPInRegLUT(SDValue Op, const SDLoc &DL, MVT VT = Op.getSimpleValueType(); MVT EltVT = VT.getVectorElementType(); int NumElts = VT.getVectorNumElements(); + (void)EltVT; assert(EltVT == MVT::i8 && "Only vXi8 vector CTPOP lowering supported."); // Implement a lookup table in register by using an algorithm based on: |