[all-commits] [llvm/llvm-project] ec7829: [clang] Short-circuit evaluation in ::EvaluateAsCo...
Timm Bäder via All-commits
all-commits at lists.llvm.org
Thu Nov 17 03:02:21 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: ec782951d7bd34f9c32d08bb6ec6b43d2a805832
https://github.com/llvm/llvm-project/commit/ec782951d7bd34f9c32d08bb6ec6b43d2a805832
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2022-11-17 (Thu, 17 Nov 2022)
Changed paths:
M clang/lib/AST/ExprConstant.cpp
Log Message:
-----------
[clang] Short-circuit evaluation in ::EvaluateAsConstantExpr
Use FastEvaluateAsRValue() in EvaluateAsConstantExpr() as well, to
short-circuit evaluation of simple integrals.
Differential Revision: https://reviews.llvm.org/D138115
More information about the All-commits
mailing list