[all-commits] [llvm/llvm-project] 2680ba: [CIR] Match OGCG noalias and memory effects on ope...

David Rivera via All-commits all-commits at lists.llvm.org
Mon Sep 7 12:57:15 PDT 2026


  Branch: refs/heads/users/riverdave/cir/opnew-noalias-memory
  Home:   https://github.com/llvm/llvm-project
  Commit: 2680ba1540561fe92698731838a88df2b3cb61de
      https://github.com/llvm/llvm-project/commit/2680ba1540561fe92698731838a88df2b3cb61de
  Author: David Rivera <davidriverg at gmail.com>
  Date:   2026-09-07 (Mon, 07 Sep 2026)

  Changed paths:
    M clang/include/clang/CIR/Dialect/IR/CIRAttrs.td
    M clang/lib/CIR/CodeGen/CIRGenCall.cpp
    M clang/lib/CIR/Lowering/DirectToLLVM/LowerToLLVM.cpp
    M clang/test/CIR/CodeGen/new-delete-deactivation.cpp
    M clang/test/CIR/CodeGen/new-delete.cpp
    M clang/test/CIR/CodeGen/new.cpp
    A clang/test/CIR/CodeGen/operator-new-noalias.cpp
    M clang/test/CIR/CodeGen/paren-list-agg-init.cpp
    M clang/test/CIR/CodeGenBuiltins/builtin-new-delete.cpp
    M clang/test/CIR/CodeGenCXX/new-array-init.cpp
    M clang/test/CIR/CodeGenCoroutines/coro-task.cpp
    M clang/test/CIR/IR/call.cir

  Log Message:
  -----------
  [CIR] Match OGCG noalias and memory effects on operator new

Sane replaceable operator new calls now get return noalias and
memory(inaccessiblemem: readwrite, errnomem: write), matching classic
codegen. -fno-assume-sane-operator-new drops both.



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