[all-commits] [llvm/llvm-project] a549e7: [OpenACC][NFCI] Split recipe generation into its o...

Steven Wu via All-commits all-commits at lists.llvm.org
Fri Sep 5 13:00:24 PDT 2025


  Branch: refs/heads/users/cachemeifyoucan/spr/frontend-adopt-llvmvfsoutputbackend-in-compilerinstance
  Home:   https://github.com/llvm/llvm-project
  Commit: a549e73cad60336d8e9c0622ae7ad86aa65ef4ce
      https://github.com/llvm/llvm-project/commit/a549e73cad60336d8e9c0622ae7ad86aa65ef4ce
  Author: Erich Keane <ekeane at nvidia.com>
  Date:   2025-09-05 (Fri, 05 Sep 2025)

  Changed paths:
    M clang/lib/CIR/CodeGen/CIRGenOpenACCClause.cpp
    A clang/lib/CIR/CodeGen/CIRGenOpenACCRecipe.h

  Log Message:
  -----------
  [OpenACC][NFCI] Split recipe generation into its own class (#157160)

The recipe generation was dependent on the clause kind, which meant we
had all of the recipe generation duplicated in each of clauses. This
patch copy/pastes all of them into their own type to do recipe
generation, which should reduce clang's size.

Additionally, we've moved it off into its own file, which should make
readability/organization improvements.


  Commit: 5cda2424c8f9a0ecac2cc9f6c7f41883a16bea12
      https://github.com/llvm/llvm-project/commit/5cda2424c8f9a0ecac2cc9f6c7f41883a16bea12
  Author: Alexandre Ganea <aganea at havenstudios.com>
  Date:   2025-09-05 (Fri, 05 Sep 2025)

  Changed paths:
    M lld/COFF/LTO.cpp
    M lld/COFF/SymbolTable.cpp
    M llvm/lib/Bitcode/Reader/MetadataLoader.cpp
    M llvm/lib/IR/AutoUpgrade.cpp
    M llvm/lib/IR/DebugInfo.cpp
    M llvm/lib/IR/Module.cpp
    M llvm/lib/IR/Verifier.cpp
    M llvm/lib/LTO/LTO.cpp
    M llvm/lib/LTO/LTOBackend.cpp
    M llvm/lib/Transforms/IPO/FunctionImport.cpp
    M llvm/lib/Transforms/IPO/WholeProgramDevirt.cpp
    M llvm/lib/Transforms/Utils/FunctionImportUtils.cpp

  Log Message:
  -----------
  [LLD][COFF] Add more `--time-trace` tags for ThinLTO linking (#156471)

In order to better see what's going on during ThinLTO linking, this PR
adds more profile tags when using `--time-trace` on a `lld-link.exe`
invocation.

After PR, linking `clang.exe`:

<img width="3839" height="2026" alt="Capture d’écran 2025-09-02 082021"
src="https://github.com/user-attachments/assets/bf0c85ba-2f85-4bbf-a5c1-800039b56910"
/>

Linking a custom (Unreal Engine game) binary gives a completly
different picture, probably because of using Unity files, and the sheer
amount of input files (here, providing over 60 GB of .OBJs/.LIBs).

<img width="1940" height="1008" alt="Capture d’écran 2025-09-02 102048"
src="https://github.com/user-attachments/assets/60b28630-7995-45ce-9e8c-13f3cb5312e0"
/>


  Commit: 351d651327691e276863fc18ae847fdbcb6abf67
      https://github.com/llvm/llvm-project/commit/351d651327691e276863fc18ae847fdbcb6abf67
  Author: Steven Wu <stevenwu at apple.com>
  Date:   2025-09-05 (Fri, 05 Sep 2025)

  Changed paths:
    M clang/lib/CIR/CodeGen/CIRGenOpenACCClause.cpp
    A clang/lib/CIR/CodeGen/CIRGenOpenACCRecipe.h
    M clang/lib/Frontend/CompilerInstance.cpp
    M lld/COFF/LTO.cpp
    M lld/COFF/SymbolTable.cpp
    M llvm/lib/Bitcode/Reader/MetadataLoader.cpp
    M llvm/lib/IR/AutoUpgrade.cpp
    M llvm/lib/IR/DebugInfo.cpp
    M llvm/lib/IR/Module.cpp
    M llvm/lib/IR/Verifier.cpp
    M llvm/lib/LTO/LTO.cpp
    M llvm/lib/LTO/LTOBackend.cpp
    M llvm/lib/Transforms/IPO/FunctionImport.cpp
    M llvm/lib/Transforms/IPO/WholeProgramDevirt.cpp
    M llvm/lib/Transforms/Utils/FunctionImportUtils.cpp

  Log Message:
  -----------
  clang format

Created using spr 1.3.6


Compare: https://github.com/llvm/llvm-project/compare/0fb75f260bdd...351d65132769

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