[all-commits] [llvm/llvm-project] 710de0: [CIR] Upstream global variable linkage types (#129...

Morris Hafner via All-commits all-commits at lists.llvm.org
Thu Mar 6 10:18:21 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 710de09f17866c75e1b971059b3cb735fbbee408
      https://github.com/llvm/llvm-project/commit/710de09f17866c75e1b971059b3cb735fbbee408
  Author: Morris Hafner <mmha at users.noreply.github.com>
  Date:   2025-03-06 (Thu, 06 Mar 2025)

  Changed paths:
    M clang/include/clang/CIR/Dialect/IR/CIRDialect.h
    M clang/include/clang/CIR/Dialect/IR/CIROps.td
    A clang/include/clang/CIR/Dialect/IR/CIROpsEnums.h
    M clang/include/clang/CIR/Dialect/IR/CMakeLists.txt
    A clang/include/clang/CIR/Interfaces/CIROpInterfaces.h
    A clang/include/clang/CIR/Interfaces/CIROpInterfaces.td
    M clang/include/clang/CIR/Interfaces/CMakeLists.txt
    M clang/include/clang/CIR/MissingFeatures.h
    M clang/lib/CIR/CodeGen/CIRGenModule.cpp
    M clang/lib/CIR/CodeGen/CIRGenModule.h
    M clang/lib/CIR/CodeGen/CMakeLists.txt
    M clang/lib/CIR/Dialect/IR/CIRDialect.cpp
    M clang/lib/CIR/Dialect/IR/CMakeLists.txt
    M clang/lib/CIR/FrontendAction/CMakeLists.txt
    A clang/lib/CIR/Interfaces/CIROpInterfaces.cpp
    M clang/lib/CIR/Interfaces/CMakeLists.txt
    M clang/lib/CIR/Lowering/DirectToLLVM/CMakeLists.txt
    M clang/lib/CIR/Lowering/DirectToLLVM/LowerToLLVM.cpp
    M clang/lib/CIR/Lowering/DirectToLLVM/LowerToLLVM.h
    A clang/test/CIR/IR/global-var-linkage.cir
    M clang/test/CIR/IR/global.cir
    A clang/test/CIR/global-var-linkage.cpp
    M clang/test/CIR/global-var-simple.cpp

  Log Message:
  -----------
  [CIR] Upstream global variable linkage types (#129072)

This change implements variable linkage types in ClangIR except for
common linkage which requires Comdat support.

---------

Co-authored-by: Morris Hafner <mhafner at nvidia.com>
Co-authored-by: Henrich Lauko <xlauko at mail.muni.cz>



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