aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/CodeGenPrepare.cpp
diff options
context:
space:
mode:
authorTimm Bäder <tbaeder@redhat.com>2022-11-16 12:50:24 +0100
committerTimm Bäder <tbaeder@redhat.com>2022-11-17 12:01:37 +0100
commitec782951d7bd34f9c32d08bb6ec6b43d2a805832 (patch)
tree3bcf8bb93c642dc3e57ec0a3a8f057baba414b57 /llvm/lib/CodeGen/CodeGenPrepare.cpp
parent303d14f33de09b38ffb00711de36e2c3b9023039 (diff)
downloadllvm-ec782951d7bd34f9c32d08bb6ec6b43d2a805832.zip
llvm-ec782951d7bd34f9c32d08bb6ec6b43d2a805832.tar.gz
llvm-ec782951d7bd34f9c32d08bb6ec6b43d2a805832.tar.bz2
[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
Diffstat (limited to 'llvm/lib/CodeGen/CodeGenPrepare.cpp')
0 files changed, 0 insertions, 0 deletions