[RS4GC] Use "deopt" operand bundles
[oota-llvm.git] / lib / Transforms / Scalar / LoopUnswitch.cpp
index d55fad0f1faceaad834797e8028f48ea91ca63e8..8c260c7c96564540da26aec85a9c1aa0b65b1c36 100644 (file)
@@ -487,8 +487,7 @@ bool LoopUnswitch::processCurrentLoop() {
 
   LLVMContext &Context = loopHeader->getContext();
 
-  // Probably we reach the quota of branches for this loop. If so
-  // stop unswitching.
+  // Analyze loop cost, and stop unswitching if loop content can not be duplicated.
   if (!BranchesInfo.countLoop(
           currentLoop, getAnalysis<TargetTransformInfoWrapperPass>().getTTI(
                            *currentLoop->getHeader()->getParent()),