[all-commits] [llvm/llvm-project] c5949d: [CIR] Match OGCG noalias and memory effects on ope...
David Rivera via All-commits
all-commits at lists.llvm.org
Fri Sep 25 06:39:46 PDT 2026
Branch: refs/heads/users/riverdave/cir/opnew-noalias-memory
Home: https://github.com/llvm/llvm-project
Commit: c5949de4c9ceac369f65e4df14ec4bc434b2be54
https://github.com/llvm/llvm-project/commit/c5949de4c9ceac369f65e4df14ec4bc434b2be54
Author: David Rivera <davidriverg at gmail.com>
Date: 2026-09-25 (Fri, 25 Sep 2026)
Changed paths:
M clang/lib/CIR/CodeGen/CIRGenCall.cpp
M clang/lib/CIR/CodeGen/CIRGenExprCXX.cpp
M clang/test/CIR/CodeGen/class.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
Log Message:
-----------
[CIR] Match OGCG noalias and memory effects on operator new
Sane replaceable operator new calls get return noalias, and new-expressions
also get memory(inaccessiblemem: readwrite, errnomem: write), matching classic
codegen. -fno-assume-sane-operator-new drops both.
Co-authored-by: Cursor <cursoragent at cursor.com>
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