================
@@ -5417,7 +5426,12 @@ Value *ScalarExprEmitter::VisitBinLAnd(const
BinaryOperator *E) {
// 0 && RHS: If it is safe, just elide the RHS, and return 0/false.
if (!CGF.ContainsLabel(E->getRHS())) {
+ CGF.markStmtAsUsed(false, E);
+ if (HasLHSSkip)
+ CGF.incrementProfileCounter(CGF.UseSkipPath, E);
+
----------------
chapuni wrote:
They follow my preferred style; Make a line break after single-stmt `if`.
https://github.com/llvm/llvm-project/pull/113113
_______________________________________________
llvm-branch-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits