[all-commits] [llvm/llvm-project] 761125: [CIR][Dialect] Add SourceLangAttr (#152511)

7mile via All-commits all-commits at lists.llvm.org
Thu Aug 21 09:51:58 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 761125f2676925fbc4ef23f8b5cc937ebea9a0fb
      https://github.com/llvm/llvm-project/commit/761125f2676925fbc4ef23f8b5cc937ebea9a0fb
  Author: 7mile <i at 7li.moe>
  Date:   2025-08-21 (Thu, 21 Aug 2025)

  Changed paths:
    M clang/include/clang/CIR/Dialect/IR/CIRAttrs.td
    M clang/include/clang/CIR/Dialect/IR/CIRDialect.td
    M clang/include/clang/CIR/MissingFeatures.h
    M clang/lib/CIR/CodeGen/CIRGenModule.cpp
    M clang/lib/CIR/CodeGen/CIRGenModule.h
    A clang/test/CIR/CodeGen/lang-c-cpp.cpp
    A clang/test/CIR/IR/invalid-lang-attr.cir
    A clang/test/CIR/IR/module.cir

  Log Message:
  -----------
  [CIR][Dialect] Add SourceLangAttr (#152511)

This patch upstreams `SourceLangAttr` and its CodeGen logic in the CGM,
which encodes the source language in CIR.



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