We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 187bd1f commit 6f13ff5Copy full SHA for 6f13ff5
llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp
@@ -2619,7 +2619,8 @@ struct MemorySanitizerVisitor : public InstVisitor<MemorySanitizerVisitor> {
2619
cast<FixedVectorType>(I.getArgOperand(0)->getType());
2620
if (I.arg_size() == 2)
2621
assert(ParamType == cast<FixedVectorType>(I.getArgOperand(1)->getType()));
2622
- FixedVectorType *ReturnType = cast<FixedVectorType>(I.getType());
+ [[maybe_unused]] FixedVectorType *ReturnType =
2623
+ cast<FixedVectorType>(I.getType());
2624
assert(ParamType->getNumElements() * I.arg_size() ==
2625
2 * ReturnType->getNumElements());
2626
0 commit comments