[all-commits] [llvm/llvm-project] d43a3d: [CodeGen] Restrict addEmittedDeferredDecl to incre...
Jonas Hahnfeld via All-commits
all-commits at lists.llvm.org
Thu Aug 17 02:55:08 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: d43a3d6346961e639e29b8083b262416889e78ec
https://github.com/llvm/llvm-project/commit/d43a3d6346961e639e29b8083b262416889e78ec
Author: Jonas Hahnfeld <jonas.hahnfeld at cern.ch>
Date: 2023-08-17 (Thu, 17 Aug 2023)
Changed paths:
M clang/lib/CodeGen/CodeGenModule.h
Log Message:
-----------
[CodeGen] Restrict addEmittedDeferredDecl to incremental extensions
Reemission is only needed in incremental mode. With this early return,
we avoid overhead from addEmittedDeferredDecl in non-incremental mode.
Differential Revision: https://reviews.llvm.org/D157379
More information about the All-commits
mailing list