)]}'
{
  "commit": "ea5311ee4c7f055d6aee467d7e511eb943e2138a",
  "tree": "947d183bd186d5bb72f011dc2a56f400cbbab302",
  "parents": [
    "fa21ccb4838c47bd43091c60aa1d968142c5ef77"
  ],
  "author": {
    "name": "Augie Fackler",
    "email": "augie@google.com",
    "time": "Thu Nov 19 14:04:27 2026 -0500"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Thu Nov 19 14:04:27 2026 -0500"
  },
  "message": "SimplifyLibCalls: preserve allocation attributes in optimizeNew (#239731)\n\nWhen `LibCallSimplifier::optimizeNew` rewrites an `operator new` call\ninto a `__hot_cold_t` allocation call, forward the allocation attributes\n(`allockind`, `allocsize`, `\"alloc-family\"`, and parameter `allocalign`)\nfrom the original call onto the synthesized call instruction alongside\nits metadata.\n\nThis is a new patch since 2023 (unlike most of the rest of the stack)\nand allows the next patch to remove more specialized C++ knowledge from\nthe LLVM layer, instead leaving it in clang where it seems more\nsensible.\n\nThis patch was authored with the assistance of an LLM and was reviewed\nby me before posting.",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "50f1e1f2ff928b0934af5806ad9248856f58103c",
      "old_mode": 33188,
      "old_path": "clang/test/CodeGen/distributed-thin-lto/memprof-mempgo.cpp",
      "new_id": "d9f7195bc0c8e275242f52cedd1965efd986262b",
      "new_mode": 33188,
      "new_path": "clang/test/CodeGen/distributed-thin-lto/memprof-mempgo.cpp"
    },
    {
      "type": "modify",
      "old_id": "9f6f986c5da0ed9f211b8c92c20c90331dedaa4d",
      "old_mode": 33188,
      "old_path": "clang/test/CodeGen/memprof-mempgo.cpp",
      "new_id": "6b401931ddaddaa15f3cbebf99e2b7745d8d0bc3",
      "new_mode": 33188,
      "new_path": "clang/test/CodeGen/memprof-mempgo.cpp"
    },
    {
      "type": "modify",
      "old_id": "5296bb853231891112516fedcfcf88431d66a361",
      "old_mode": 33188,
      "old_path": "llvm/lib/Transforms/Utils/SimplifyLibCalls.cpp",
      "new_id": "25b78d40af2e04bbfc9fe65fba4f9fe4dda16aef",
      "new_mode": 33188,
      "new_path": "llvm/lib/Transforms/Utils/SimplifyLibCalls.cpp"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "3aa2fc5e64fc2449248e9c1d75a52ec869f41c7d",
      "new_mode": 33188,
      "new_path": "llvm/test/Transforms/InstCombine/simplify-libcalls-new-attrs.ll"
    },
    {
      "type": "modify",
      "old_id": "a5fe051a7a654d68e68f4cfcaba750f9efe3f785",
      "old_mode": 33188,
      "old_path": "llvm/test/Transforms/InstCombine/simplify-libcalls-new.ll",
      "new_id": "fa3c409f9aa5f97276aed5aec05d7d3ef4476ca2",
      "new_mode": 33188,
      "new_path": "llvm/test/Transforms/InstCombine/simplify-libcalls-new.ll"
    }
  ]
}
