This patch allows code gen to use APValue Results from ConstantExprs.
There are some outstanding concerns I'll mark with inline comments.
This is the codegen "sister patch" of: https://reviews.llvm.org/D76438
Paths
| Differential D76443
Use ConstantExpr cached APValues if present for code generation AbandonedPublic Authored by wchilders on Mar 19 2020, 12:15 PM.
Details Summary This patch allows code gen to use APValue Results from ConstantExprs. There are some outstanding concerns I'll mark with inline comments. This is the codegen "sister patch" of: https://reviews.llvm.org/D76438
Diff Detail
Event Timeline
Comment Actions Updated to remove duplicated (and out dated) APValue generation logic, and fixed formatting issues. (Thanks for pointing out something was awry Tyker)
Revision Contents
Diff 251438 clang/lib/CodeGen/CGExpr.cpp
clang/lib/CodeGen/CGExprAgg.cpp
clang/lib/CodeGen/CGExprConstant.cpp
clang/lib/CodeGen/CGExprScalar.cpp
clang/lib/CodeGen/CGStmt.cpp
clang/lib/CodeGen/CodeGenFunction.h
clang/lib/CodeGen/CodeGenFunction.cpp
clang/lib/CodeGen/CodeGenModule.h
|
clang-format: please reformat the code