[all-commits] [llvm/llvm-project] 7f920e: [NFC][clang] Split clang/lib/CodeGen/CGBuiltin.cpp...

Jonathan Thackray via All-commits all-commits at lists.llvm.org
Fri Mar 21 12:10:01 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7f920e2e5f70b25c79adbc0b1005b1d1286d4681
      https://github.com/llvm/llvm-project/commit/7f920e2e5f70b25c79adbc0b1005b1d1286d4681
  Author: Jonathan Thackray <jonathan.thackray at arm.com>
  Date:   2025-03-21 (Fri, 21 Mar 2025)

  Changed paths:
    M clang/lib/CodeGen/CGBuiltin.cpp
    A clang/lib/CodeGen/CGBuiltin.h
    M clang/lib/CodeGen/CMakeLists.txt
    A clang/lib/CodeGen/TargetBuiltins/AMDGPU.cpp
    A clang/lib/CodeGen/TargetBuiltins/ARM.cpp
    A clang/lib/CodeGen/TargetBuiltins/Hexagon.cpp
    A clang/lib/CodeGen/TargetBuiltins/NVPTX.cpp
    A clang/lib/CodeGen/TargetBuiltins/PPC.cpp
    A clang/lib/CodeGen/TargetBuiltins/RISCV.cpp
    A clang/lib/CodeGen/TargetBuiltins/SPIR.cpp
    A clang/lib/CodeGen/TargetBuiltins/SystemZ.cpp
    A clang/lib/CodeGen/TargetBuiltins/WebAssembly.cpp
    A clang/lib/CodeGen/TargetBuiltins/X86.cpp

  Log Message:
  -----------
  [NFC][clang] Split clang/lib/CodeGen/CGBuiltin.cpp into target-specific files (#132252)

clang/lib/CodeGen/CGBuiltin.cpp is over 1MB long (>23k LoC), and can
take minutes to recompile (depending on compiler and host system) when
modified, and 5 seconds for clangd to update for every edit. Splitting
this file was discussed in this thread:

   https://discourse.llvm.org/t/splitting-clang-s-cgbuiltin-cpp-over-23k-lines-long-takes-1min-to-compile/

and the idea has received a number of +1 votes, hence this change.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list