[PATCH] D156154: [clang][ConstExprEmitter] handle IntegerLiterals
Nick Desaulniers via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Jul 24 15:30:50 PDT 2023
nickdesaulniers added a comment.
In D156154#4529889 <https://reviews.llvm.org/D156154#4529889>, @shafik wrote:
> What practical effects will this have?
As of D151587 <https://reviews.llvm.org/D151587>...
>From the commit message `Improves the ability of ConstExprEmitter to evaluate constants.` Stated another way:
Should speed up "is the below expression a constant expression?"
> What kind of code do this effect?
int y = 2;
^ is 2 a constant expression?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D156154/new/
https://reviews.llvm.org/D156154
More information about the cfe-commits
mailing list