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 95e44d3 commit 1b95e76Copy full SHA for 1b95e76
llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp
@@ -3837,8 +3837,7 @@ struct MemorySanitizerVisitor : public InstVisitor<MemorySanitizerVisitor> {
3837
// the second argument is guranteed to be a constant integer.
3838
void handleRoundPdPsIntrinsic(IntrinsicInst &I) {
3839
assert(I.getArgOperand(0)->getType() == I.getType());
3840
- unsigned NumArgOperands = I.arg_size();
3841
- assert(NumArgOperands == 2);
+ assert(I.arg_size() == 2);
3842
assert(isa<ConstantInt>(I.getArgOperand(1)));
3843
3844
IRBuilder<> IRB(&I);
0 commit comments