)]}'
{
  "commit": "ea63038e712535e97dfb2415289adf13b604a6d7",
  "tree": "2071d929b32262b766c71865f544d5cd285cf7f5",
  "parents": [
    "8e214cdf94e1f1aa34f611b43e270a144251171f"
  ],
  "author": {
    "name": "Jack Elliott",
    "email": "jackell@microsoft.com",
    "time": "Fri Jul 17 20:31:30 2026"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Fri Jul 17 20:31:30 2026"
  },
  "message": "[HLSL] Rename IsDebuggerPresent to IsDebuggingEnabled (#8626)\n\n## Summary\n\n- Rename `dx::IsDebuggerPresent()` to `dx::IsDebuggingEnabled()` to\nmatch HLSL proposal 0039.\n- Rename the corresponding DXIL operation to `isDebuggingEnabled` while\npreserving its opcode values.\n- Remove the `readonly` classification so separate runtime-state\nobservations are not commoned or hoisted.\n- Update lowering, generated tables, documentation, SPIR-V diagnostics,\nand tests.\n\nSpec change: https://github.com/microsoft/hlsl-specs/pull/898\n\n## Testing\n\n- Built `dxc`, `dxopt`, and `FileCheck` with SPIR-V enabled.\n- CodeGenSPIRV: 1564 passed, 2 expected failures.\n- DxilGen: 15 passed.\n- HLSL basic intrinsics: 2 passed.\n- Total: 1581 passed, 0 unexpected failures.\n\n---------\n\nCo-authored-by: Jack Elliott \u003cjackell@ntdev.microsoft.com\u003e\nCo-authored-by: Copilot \u003c223556219+Copilot@users.noreply.github.com\u003e",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "9b7b5752f5ed69f021c47a4769926dbb20af9133",
      "old_mode": 33188,
      "old_path": "docs/DXIL.rst",
      "new_id": "68ad6de2f861001f3623d325b4df16533e472700",
      "new_mode": 33188,
      "new_path": "docs/DXIL.rst"
    },
    {
      "type": "modify",
      "old_id": "518b02f1bc74ddf2dacd2b26590eb25c3e048591",
      "old_mode": 33188,
      "old_path": "docs/ReleaseNotes.md",
      "new_id": "915142185d9e742237da9b873c50fe6c83f58918",
      "new_mode": 33188,
      "new_path": "docs/ReleaseNotes.md"
    },
    {
      "type": "modify",
      "old_id": "79758e260326286da00eff5d5eecb8d62b28fc69",
      "old_mode": 33188,
      "old_path": "include/dxc/DXIL/DxilConstants.h",
      "new_id": "bbb59e0ab2947659d67d527ab205395ba22a0d7b",
      "new_mode": 33188,
      "new_path": "include/dxc/DXIL/DxilConstants.h"
    },
    {
      "type": "modify",
      "old_id": "b1c1bbaf733a3c236d9767a938e2e3da3e52d20b",
      "old_mode": 33188,
      "old_path": "include/dxc/DXIL/DxilInstructions.h",
      "new_id": "afbc9ca9cd9d87d27d6a2f892066b33a5c9767ad",
      "new_mode": 33188,
      "new_path": "include/dxc/DXIL/DxilInstructions.h"
    },
    {
      "type": "modify",
      "old_id": "f70013a006061773db23722a1d8fd84ad5187c6d",
      "old_mode": 33188,
      "old_path": "include/dxc/HlslIntrinsicOp.h",
      "new_id": "067889e01464331058e391a1660c38d4873a7f3c",
      "new_mode": 33188,
      "new_path": "include/dxc/HlslIntrinsicOp.h"
    },
    {
      "type": "modify",
      "old_id": "7ca45b544de01ceb4e810495089d33b86a1451dc",
      "old_mode": 33188,
      "old_path": "lib/DXIL/DxilOperations.cpp",
      "new_id": "05d86a29f61856ab1a9f5e2edee019b3efc9cc68",
      "new_mode": 33188,
      "new_path": "lib/DXIL/DxilOperations.cpp"
    },
    {
      "type": "modify",
      "old_id": "ff30dcbf20af512c0e3df89536fee6531faa7d37",
      "old_mode": 33188,
      "old_path": "lib/HLSL/HLOperationLower.cpp",
      "new_id": "513f3f9d8891353ed33ecc8297354859784c9494",
      "new_mode": 33188,
      "new_path": "lib/HLSL/HLOperationLower.cpp"
    },
    {
      "type": "modify",
      "old_id": "b7fd4477873088368753980ef65486543a178c96",
      "old_mode": 33188,
      "old_path": "tools/clang/lib/SPIRV/SpirvEmitter.cpp",
      "new_id": "04e5f3ac6340cbc687d5a2a4f03841fea564cd2a",
      "new_mode": 33188,
      "new_path": "tools/clang/lib/SPIRV/SpirvEmitter.cpp"
    },
    {
      "type": "rename",
      "old_id": "e82df70065eee5ebb4a6fe7f6665dd9a472512b1",
      "old_mode": 33188,
      "old_path": "tools/clang/test/CodeGenSPIRV/intrinsics.isdebugerpresent.error.hlsl",
      "new_id": "41bc0461d9469c4a95ba33495a08fe9d9fb05a79",
      "new_mode": 33188,
      "new_path": "tools/clang/test/CodeGenSPIRV/intrinsics.isdebuggingenabled.error.hlsl",
      "score": 63
    },
    {
      "type": "rename",
      "old_id": "8d2bb4a9696dccf00cfe2e3865fa5731a592ab3e",
      "old_mode": 33188,
      "old_path": "tools/clang/test/DXC/Passes/DxilGen/isdebuggerpresent.ll",
      "new_id": "6de74488018a6d7bb1077f075d92feaef70b6246",
      "new_mode": 33188,
      "new_path": "tools/clang/test/DXC/Passes/DxilGen/isdebuggingenabled.ll",
      "score": 91
    },
    {
      "type": "delete",
      "old_id": "aa43b6f2533fb5a85c428e5305e015eac8f0bda9",
      "old_mode": 33188,
      "old_path": "tools/clang/test/HLSLFileCheckLit/hlsl/intrinsics/basic/isdebuggerpresent.hlsl",
      "new_id": "0000000000000000000000000000000000000000",
      "new_mode": 0,
      "new_path": "/dev/null"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "784aa327da993c78704596eccb4ec7b2fd53e4a9",
      "new_mode": 33188,
      "new_path": "tools/clang/test/HLSLFileCheckLit/hlsl/intrinsics/basic/isdebuggingenabled.hlsl"
    },
    {
      "type": "modify",
      "old_id": "37a4ee406f375576d6772d77dbb848144ae5f044",
      "old_mode": 33188,
      "old_path": "utils/hct/gen_intrin_main.txt",
      "new_id": "45242fc5e2faf30381144d3f2084150f89ff1513",
      "new_mode": 33188,
      "new_path": "utils/hct/gen_intrin_main.txt"
    },
    {
      "type": "modify",
      "old_id": "62c4191efb0c26aa6918f349c13a577221c9f84c",
      "old_mode": 33188,
      "old_path": "utils/hct/hctdb.py",
      "new_id": "e196b07d5f5229074b65efee6a4bd2a7737dd5a0",
      "new_mode": 33188,
      "new_path": "utils/hct/hctdb.py"
    },
    {
      "type": "modify",
      "old_id": "63086a2d996f814d088cf94f26b4cac2f6c0a716",
      "old_mode": 33188,
      "old_path": "utils/hct/hlsl_intrinsic_opcodes.json",
      "new_id": "daa0d3a99aaf2c997ca3416af66dce02ad5c5951",
      "new_mode": 33188,
      "new_path": "utils/hct/hlsl_intrinsic_opcodes.json"
    }
  ]
}
