[all-commits] [llvm/llvm-project] 85265a: [CIR] Upstream support for variable length arrays ...

Andy Kaylor via All-commits all-commits at lists.llvm.org
Wed Oct 15 13:55:39 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 85265a93cc796bfbfb6ee88a5b48bbd68b73aa63
      https://github.com/llvm/llvm-project/commit/85265a93cc796bfbfb6ee88a5b48bbd68b73aa63
  Author: Andy Kaylor <akaylor at nvidia.com>
  Date:   2025-10-15 (Wed, 15 Oct 2025)

  Changed paths:
    M clang/lib/CIR/CodeGen/CIRGenBuilder.h
    M clang/lib/CIR/CodeGen/CIRGenDecl.cpp
    M clang/lib/CIR/CodeGen/CIRGenExpr.cpp
    M clang/lib/CIR/CodeGen/CIRGenFunction.cpp
    M clang/lib/CIR/CodeGen/CIRGenFunction.h
    M clang/lib/CIR/CodeGen/CIRGenModule.cpp
    M clang/lib/CIR/CodeGen/CIRGenTypeCache.h
    M clang/lib/CIR/CodeGen/CIRGenTypes.cpp
    A clang/test/CIR/CodeGen/vla.c

  Log Message:
  -----------
  [CIR] Upstream support for variable length arrays (#163297)

This adds the code needed to emit alloca operations for variable length
array local variables and the necessary calls to stacksave and
stackrestore to adjust the local stack as the array variables go in an
out of scope.



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