)]}'
{
  "commit": "1578bc684e82f33791b14f59d0cd495ab6789d4d",
  "tree": "3b47927d7af15e0979c06893c043bd3493ad6965",
  "parents": [
    "5099f1641e49e5d5a084dcf2155dc8a72257c795"
  ],
  "author": {
    "name": "Fangrui Song",
    "email": "i@maskray.me",
    "time": "Tue Apr 07 21:35:58 2026 -0700"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Wed Apr 08 04:35:58 2026 +0000"
  },
  "message": "[MC] Move MCTargetOptions pointer from MCContext to MCAsmInfo (#180464)\n\nExcept MC-internal `MCAsmInfo()` uses, MCAsmInfo is always constructed\nwith `const MCTargetOptions \u0026` via `TargetRegistry::createMCAsmInfo`\n(https://reviews.llvm.org/D41349). Store the pointer in MCAsmInfo and\nchange `MCContext::getTargetOptions()` to retrieve it from there,\nremoving the `MCTargetOptions const *TargetOptions` member from\nMCContext.\n\nMCContext\u0027s constructor still accepts an MCTargetOptions parameter\nfor now but is often omitted by call sites.\nA subsequent change will remove this parameter and update all callers.",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "d1ef796b44a6155d084bd6767325ea4ff7f6bd2b",
      "old_mode": 33188,
      "old_path": "bolt/lib/Core/BinaryContext.cpp",
      "new_id": "554efe671fd5b8b0391990f6673d1bca88cbb9dc",
      "new_mode": 33188,
      "new_path": "bolt/lib/Core/BinaryContext.cpp"
    },
    {
      "type": "modify",
      "old_id": "2649e080989c29c13cd1b2fe887c21ff2407079a",
      "old_mode": 33188,
      "old_path": "llvm/include/llvm/MC/MCAsmInfo.h",
      "new_id": "da10f6000e82d39d08a8175fd4823dbee6b83eb7",
      "new_mode": 33188,
      "new_path": "llvm/include/llvm/MC/MCAsmInfo.h"
    },
    {
      "type": "modify",
      "old_id": "ccc5cecd8ee80369c9baccee69846274f0932545",
      "old_mode": 33188,
      "old_path": "llvm/include/llvm/MC/MCContext.h",
      "new_id": "85ce14570866e8d642a4e8cb71cb4cdcc2b36c14",
      "new_mode": 33188,
      "new_path": "llvm/include/llvm/MC/MCContext.h"
    },
    {
      "type": "modify",
      "old_id": "27e04f930598d03aef6941fb9a2d99e5a462e83c",
      "old_mode": 33188,
      "old_path": "llvm/include/llvm/MC/TargetRegistry.h",
      "new_id": "5594ede0aa5c1361cb5ee365745d747308afd1dd",
      "new_mode": 33188,
      "new_path": "llvm/include/llvm/MC/TargetRegistry.h"
    },
    {
      "type": "modify",
      "old_id": "9aa908354957388321845c20a9cb1cfc7e434747",
      "old_mode": 33188,
      "old_path": "llvm/lib/MC/ELFObjectWriter.cpp",
      "new_id": "b0c38797e4b34b1d96cc52bc8fa7fe6e53186cfa",
      "new_mode": 33188,
      "new_path": "llvm/lib/MC/ELFObjectWriter.cpp"
    },
    {
      "type": "modify",
      "old_id": "12ba363df7ddc4eecdabe1f4220268796660593e",
      "old_mode": 33188,
      "old_path": "llvm/lib/MC/MCAsmStreamer.cpp",
      "new_id": "76510ffe4717ba95a84f7f4899668bdd68d9c8d3",
      "new_mode": 33188,
      "new_path": "llvm/lib/MC/MCAsmStreamer.cpp"
    },
    {
      "type": "modify",
      "old_id": "37331c8b885113b079df436c47305f8958459e70",
      "old_mode": 33188,
      "old_path": "llvm/lib/MC/MCContext.cpp",
      "new_id": "93226518eb0964247476ae1309e28d380d6b630c",
      "new_mode": 33188,
      "new_path": "llvm/lib/MC/MCContext.cpp"
    },
    {
      "type": "modify",
      "old_id": "58aa7945d7393ae1e2c179bd18d6ee7e5249c551",
      "old_mode": 33188,
      "old_path": "llvm/lib/MC/MCObjectStreamer.cpp",
      "new_id": "86290521d8266598abdeb413c48d2d8e37790607",
      "new_mode": 33188,
      "new_path": "llvm/lib/MC/MCObjectStreamer.cpp"
    },
    {
      "type": "modify",
      "old_id": "9929a1125a0dc84f1fe5dacc75acfa4c08a18a5c",
      "old_mode": 33188,
      "old_path": "llvm/unittests/CodeGen/MFCommon.inc",
      "new_id": "e513a237c582109afa7e3aec678cb4e1bacca5ef",
      "new_mode": 33188,
      "new_path": "llvm/unittests/CodeGen/MFCommon.inc"
    },
    {
      "type": "modify",
      "old_id": "462bf7c5ea91d0c8c83f98e4f33476089b85eda7",
      "old_mode": 33188,
      "old_path": "llvm/unittests/CodeGen/MachineInstrTest.cpp",
      "new_id": "529adba98669e394c395befa14ca0f20bb60a58c",
      "new_mode": 33188,
      "new_path": "llvm/unittests/CodeGen/MachineInstrTest.cpp"
    },
    {
      "type": "modify",
      "old_id": "c0b2b1895975a8dc316064a6c5bdb2e5b625dc88",
      "old_mode": 33188,
      "old_path": "llvm/unittests/CodeGen/MachineOperandTest.cpp",
      "new_id": "23b896cfd8265cf7e64fc32995047ae96bd51c0b",
      "new_mode": 33188,
      "new_path": "llvm/unittests/CodeGen/MachineOperandTest.cpp"
    },
    {
      "type": "modify",
      "old_id": "a835a34fea58b8a7fe36b79a35bbdc16a371e823",
      "old_mode": 33188,
      "old_path": "llvm/unittests/Target/AArch64/AArch64InstPrinterTest.cpp",
      "new_id": "65beedb888825fd0255335c8f0c09a95364ae7fb",
      "new_mode": 33188,
      "new_path": "llvm/unittests/Target/AArch64/AArch64InstPrinterTest.cpp"
    }
  ]
}
