[llvm] 958dddf - [NFC][InstCombine] Fix typo
Jun Ma via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 26 20:33:31 PDT 2021
Author: Jun Ma
Date: 2021-07-27T11:33:10+08:00
New Revision: 958dddf7dfd40bc01447b67b1b0a85e0c7c9941d
URL: https://github.com/llvm/llvm-project/commit/958dddf7dfd40bc01447b67b1b0a85e0c7c9941d
DIFF: https://github.com/llvm/llvm-project/commit/958dddf7dfd40bc01447b67b1b0a85e0c7c9941d.diff
LOG: [NFC][InstCombine] Fix typo
Added:
Modified:
llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
Removed:
################################################################################
diff --git a/llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp b/llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
index c7c89ba04d7f..726bb545be12 100644
--- a/llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
+++ b/llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
@@ -2011,7 +2011,7 @@ Instruction *InstCombinerImpl::visitCallInst(CallInst &CI) {
if (Arg != Vect &&
cast<Instruction>(Arg)->getOpcode() == Instruction::SExt)
Res = Builder.CreateNeg(Res);
- return replaceInstUsesWith(CI, Res);;
+ return replaceInstUsesWith(CI, Res);
}
}
}
More information about the llvm-commits
mailing list