[all-commits] [llvm/llvm-project] 8eb9b9: [CIR] Emit init of local variables (#130164)

Andy Kaylor via All-commits all-commits at lists.llvm.org
Fri Mar 7 10:23:29 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8eb9b947af267f38ad53cfc67a41c5c3d978aa27
      https://github.com/llvm/llvm-project/commit/8eb9b947af267f38ad53cfc67a41c5c3d978aa27
  Author: Andy Kaylor <akaylor at nvidia.com>
  Date:   2025-03-07 (Fri, 07 Mar 2025)

  Changed paths:
    M clang/include/clang/CIR/Dialect/Builder/CIRBaseBuilder.h
    M clang/include/clang/CIR/Dialect/IR/CIRAttrs.td
    M clang/include/clang/CIR/MissingFeatures.h
    A clang/lib/CIR/CodeGen/CIRGenConstantEmitter.h
    M clang/lib/CIR/CodeGen/CIRGenDecl.cpp
    M clang/lib/CIR/CodeGen/CIRGenExpr.cpp
    A clang/lib/CIR/CodeGen/CIRGenExprConstant.cpp
    M clang/lib/CIR/CodeGen/CIRGenFunction.h
    M clang/lib/CIR/CodeGen/CIRGenModule.h
    M clang/lib/CIR/CodeGen/CMakeLists.txt
    M clang/test/CIR/CodeGen/basic.cpp
    A clang/test/CIR/CodeGen/local-vars.cpp
    M clang/test/CIR/Lowering/basic.cpp
    A clang/test/CIR/Lowering/local-vars.cpp

  Log Message:
  -----------
  [CIR] Emit init of local variables (#130164)

Local variable initialization was previously being ignored. This change
adds support for initialization of scalar variables with constant values
and introduces the constant emitter framework.



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