[PATCH] D100764: [Support/IR] Split IR-independent bits of DataLayout into new superclass DataLayoutString
Nico Weber via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Apr 19 07:36:45 PDT 2021
thakis created this revision.
Herald added subscribers: dexonsmith, hiraditya, mgorny.
thakis requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
…and use it to make clang's libBasic not depend on IR.
Reduces number of TUs build for 'clang-format' from 689 to 576.
Approach 2 in https://reviews.llvm.org/D17183#2653279
(not yet ready for review)
https://reviews.llvm.org/D100764
Files:
clang/include/clang/AST/ASTContext.h
clang/include/clang/Basic/TargetInfo.h
clang/include/clang/CodeGen/BackendUtil.h
clang/lib/AST/ASTContext.cpp
clang/lib/AST/Mangle.cpp
clang/lib/Basic/CMakeLists.txt
clang/lib/CodeGen/BackendUtil.cpp
clang/lib/CodeGen/ModuleBuilder.cpp
clang/lib/CodeGen/ObjectFilePCHContainerOperations.cpp
llvm/include/llvm/IR/DataLayout.h
llvm/include/llvm/Support/DataLayoutString.h
llvm/lib/IR/DataLayout.cpp
llvm/lib/Support/CMakeLists.txt
llvm/lib/Support/DataLayoutString.cpp
llvm/utils/gn/secondary/clang/lib/Basic/BUILD.gn
llvm/utils/gn/secondary/llvm/lib/Support/BUILD.gn
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D100764.338521.patch
Type: text/x-patch
Size: 78773 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210419/56d3efa3/attachment.bin>
More information about the llvm-commits
mailing list