[PATCH] D156185: [clang][ConstExprEmitter] handle ArrayToPointerDecay ImplicitCastExpr of StringLiterals

Eli Friedman via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Jul 24 16:35:09 PDT 2023


efriedma added a comment.

> I guess I lost focus on the "struct or array part."

Right... scalars weren't the concern for D76096 <https://reviews.llvm.org/D76096>.  They have much less overhead going through ExprConstant, and any evaluation of scalars isn't a regression because we currently don't have a codepath for that anyway.

> Some of these seem like very low hanging fruit, IMO, and probably still do speed up constant evaluation.

Sure.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D156185/new/

https://reviews.llvm.org/D156185



More information about the cfe-commits mailing list