)]}'
{
  "commit": "458a2e88cc0595e5456e37cdfbec9bd84d5e2dee",
  "tree": "af46447cf721c25806a5e59e59c1dda4f26b77e5",
  "parents": [
    "c752e12b7622d0ee3483148620fd9d4e97055a3b"
  ],
  "author": {
    "name": "Thurston Dang",
    "email": "thurston@google.com",
    "time": "Tue Jan 13 10:14:32 2026 -0800"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Tue Jan 13 10:14:32 2026 -0800"
  },
  "message": "[AMDGPU][Scheduler] Fix use-after-poison by printing before deleting (#175807)\n\nA buildbot was failing with a use-after-poison\n(https://lab.llvm.org/buildbot/#/builders/24/builds/16530) after\nhttps://github.com/llvm/llvm-project/pull/175050:\n```\n\u003d\u003dllc\u003d\u003d1532559\u003d\u003dERROR: AddressSanitizer: use-after-poison on address 0xe26e74e12368 at pc 0xb36d41bd74dc bp 0xffffed72a450 sp 0xffffed72a448\nREAD of size 8 at 0xe26e74e12368 thread T0\n    #0 0xb36d41bd74d8 in llvm::MachineInstr::print(llvm::raw_ostream\u0026, bool, bool, bool, bool, llvm::TargetInstrInfo const*) const /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/lib/CodeGen/MachineInstr.cpp:1796:35\n    #1 0xb36d3e221b08 in operator\u003c\u003c /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/include/llvm/CodeGen/MachineInstr.h:2150:6\n    #2 0xb36d3e221b08 in llvm::PreRARematStage::rollback(llvm::PreRARematStage::RollbackInfo const\u0026, llvm::BitVector\u0026) const /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/lib/Target/AMDGPU/GCNSchedStrategy.cpp:2363:57\n...\n```\n\nThis is because it was printing an instruction that had already been\ndeleted. This patch fixes this by reversing the order.",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "16644a03f089ab04b7f226efa3989b8a3e17436f",
      "old_mode": 33188,
      "old_path": "llvm/lib/Target/AMDGPU/GCNSchedStrategy.cpp",
      "new_id": "a032dd2092140973804abd4c99fdcc11d312a325",
      "new_mode": 33188,
      "new_path": "llvm/lib/Target/AMDGPU/GCNSchedStrategy.cpp"
    }
  ]
}
