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 2eab6f9 commit 1ae99f5Copy full SHA for 1ae99f5
llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp
@@ -4319,7 +4319,7 @@ struct MemorySanitizerVisitor : public InstVisitor<MemorySanitizerVisitor> {
4319
assert(isPowerOf2_64(IdxVectorSize));
4320
4321
// Compiler isn't smart enough, let's help it
4322
- if (auto *ConstantIdx = dyn_cast<Constant>(Idx))
+ if (isa<Constant>(Idx))
4323
return;
4324
4325
Value *Truncated = IRB.CreateTrunc(
0 commit comments