[all-commits] [llvm/llvm-project] dedcf8: [CIR] Implement NRVO variable cleanup (#170774)

Andy Kaylor via All-commits all-commits at lists.llvm.org
Fri Dec 5 15:59:36 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: dedcf88569c4b45b1ab78d05304045326336de0c
      https://github.com/llvm/llvm-project/commit/dedcf88569c4b45b1ab78d05304045326336de0c
  Author: Andy Kaylor <akaylor at nvidia.com>
  Date:   2025-12-05 (Fri, 05 Dec 2025)

  Changed paths:
    M clang/include/clang/CIR/Dialect/Builder/CIRBaseBuilder.h
    M clang/include/clang/CIR/MissingFeatures.h
    M clang/lib/CIR/CodeGen/CIRGenDecl.cpp
    M clang/test/CIR/CodeGen/nrvo.cpp

  Log Message:
  -----------
  [CIR] Implement NRVO variable cleanup (#170774)

This implements the cleanup handling for C++ NRVO variables. Because
exception handling is still incomplete, this doesn't behave any
differently with exceptions enabled yet, but the NRVO-specific code for
that case is trivial.



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