)]}'
{
  "commit": "a82b97c524e851b0807b95c34a2154a2cbce9bdf",
  "tree": "5a99c8e8f3999ebe50e2daa5fc63aff5f01cb8a4",
  "parents": [
    "5b30750893ce3e005c5b1f7da963ab0adcf4cb61"
  ],
  "author": {
    "name": "Fabian Parzefall",
    "email": "parzefall@meta.com",
    "time": "Wed Dec 03 18:29:24 2025 -0800"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Thu Dec 04 10:29:24 2025 +0800"
  },
  "message": "[CodeGen] Fix lpad padding at section start after empty block (#112595)\n\nIf a landing pad is at the very start of a split section, it has to be\npadded by a nop instruction. Otherwise its offset is marked as zero in\nthe LSDA, which means no landing pad (leading it to be skipped).\n\nLLVM already handles this. If a landing pad is the first machine block\nin a section, a nop is inserted to ensure a non-zero offset. However, if\nthe landing pad is preceeded by an empty block, the nop would be\nomitted.\n\nTo fix this, this patch adds a field to machine blocks indicating\nwhether this block contains the first instruction in its section. This\nvariable is then used to determine whether to emit the padding.\n\nCo-authored-by: Jinjie Huang \u003chuangjinjie@bytedance.com\u003e",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "52e2909bec072156693e077ed8d11f76faad8c14",
      "old_mode": 33188,
      "old_path": "llvm/lib/CodeGen/BasicBlockSections.cpp",
      "new_id": "b2108744d9c4729cae6f97d96178c535a48a8734",
      "new_mode": 33188,
      "new_path": "llvm/lib/CodeGen/BasicBlockSections.cpp"
    },
    {
      "type": "modify",
      "old_id": "1a8c9ede8f8b73d6332bfc606314ebdd403ae246",
      "old_mode": 33188,
      "old_path": "llvm/test/CodeGen/Generic/machine-function-splitter.ll",
      "new_id": "d798b2875645b4e15a8178141bbd6d18b670ee50",
      "new_mode": 33188,
      "new_path": "llvm/test/CodeGen/Generic/machine-function-splitter.ll"
    }
  ]
}
