[PATCH] D76420: Prevent IR-gen from emitting consteval declarations
Tyker via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Mar 19 02:39:32 PDT 2020
Tyker created this revision.
Tyker added a reviewer: rsmith.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.
Tyker added a parent revision: D74130: [clang] fix consteval call in default arguements .
with this patch instead of emitting calls to consteval function. the IR-gen will emit a store of the already computed result.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D76420
Files:
clang/include/clang/AST/Expr.h
clang/lib/AST/Expr.cpp
clang/lib/AST/ExprConstant.cpp
clang/lib/CodeGen/CGCall.cpp
clang/lib/CodeGen/CGExpr.cpp
clang/lib/CodeGen/CGExprAgg.cpp
clang/lib/CodeGen/CGExprComplex.cpp
clang/lib/CodeGen/CGExprConstant.cpp
clang/lib/CodeGen/CGExprScalar.cpp
clang/lib/CodeGen/CGStmt.cpp
clang/lib/CodeGen/CodeGenFunction.h
clang/lib/CodeGen/CodeGenModule.cpp
clang/lib/CodeGen/ConstantEmitter.h
clang/lib/Sema/SemaExpr.cpp
clang/test/CodeGenCXX/cxx2a-consteval.cpp
clang/test/SemaCXX/cxx2a-consteval.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D76420.251307.patch
Type: text/x-patch
Size: 19912 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200319/86f98f4b/attachment-0001.bin>
More information about the cfe-commits
mailing list