[llvm] r338848 - [NFC] Add missing comment
Max Kazantsev via llvm-commits
llvm-commits at lists.llvm.org
Fri Aug 3 03:41:51 PDT 2018
Author: mkazantsev
Date: Fri Aug 3 03:41:51 2018
New Revision: 338848
URL: http://llvm.org/viewvc/llvm-project?rev=338848&view=rev
Log:
[NFC] Add missing comment
Modified:
llvm/trunk/lib/Transforms/Scalar/GuardWidening.cpp
Modified: llvm/trunk/lib/Transforms/Scalar/GuardWidening.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Scalar/GuardWidening.cpp?rev=338848&r1=338847&r2=338848&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Scalar/GuardWidening.cpp (original)
+++ llvm/trunk/lib/Transforms/Scalar/GuardWidening.cpp Fri Aug 3 03:41:51 2018
@@ -66,6 +66,7 @@ STATISTIC(GuardsEliminated, "Number of e
namespace {
+// Get the condition of \p GuardInst.
static Value *getGuardCondition(Instruction *GuardInst) {
IntrinsicInst *GI = cast<IntrinsicInst>(GuardInst);
assert(GI->getIntrinsicID() == Intrinsic::experimental_guard &&
More information about the llvm-commits
mailing list