[llvm] 498856f - [LV] Silence unused variable warning in Release builds. NFC.
Benjamin Kramer via llvm-commits
llvm-commits at lists.llvm.org
Fri Jan 10 02:24:15 PST 2020
Author: Benjamin Kramer
Date: 2020-01-10T11:21:27+01:00
New Revision: 498856fca5b9306f545554aeec93c7c058f03eb3
URL: https://github.com/llvm/llvm-project/commit/498856fca5b9306f545554aeec93c7c058f03eb3
DIFF: https://github.com/llvm/llvm-project/commit/498856fca5b9306f545554aeec93c7c058f03eb3.diff
LOG: [LV] Silence unused variable warning in Release builds. NFC.
Added:
Modified:
llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
Removed:
################################################################################
diff --git a/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp b/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
index 180a9e5738ae..684a3098e564 100644
--- a/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
+++ b/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
@@ -2388,6 +2388,7 @@ void InnerLoopVectorizer::vectorizeMemoryInstruction(Instruction *Instr,
// gather/scatter. Otherwise Decision should have been to Scalarize.
assert((ConsecutiveStride || CreateGatherScatter) &&
"The instruction should be scalarized");
+ (void)ConsecutiveStride;
VectorParts BlockInMaskParts(UF);
bool isMaskRequired = BlockInMask;
More information about the llvm-commits
mailing list