================
@@ -884,8 +884,36 @@ bool 
ByteCodeExprGen<Emitter>::visitInitList(ArrayRef<const Expr *> Inits,
     if (!this->emitDupPtr(E))
       return false;
 
+    // guard relatively expensive base check behind an almost-always-false
----------------
sethp wrote:

Maybe half so? It's an attempt to avoid a performance regression that I think I 
would've otherwise introduced by making this change.

https://github.com/llvm/llvm-project/pull/87799
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to