)]}'
{
  "commit": "9bedef2a158b62bac48540c67c00a1aa97e10978",
  "tree": "d63a47841638079ce277cd58e032f765045f304a",
  "parents": [
    "13f44f73f0ce31a10facd3aa3546f8c71827beff"
  ],
  "author": {
    "name": "Wenju He",
    "email": "wenju.he@intel.com",
    "time": "Wed May 13 18:21:36 2026 +0800"
  },
  "committer": {
    "name": "Copybara-Service",
    "email": "copybara-worker@google.com",
    "time": "Wed May 13 03:25:35 2026 -0700"
  },
  "message": "[libclc] Move external-funcs.test to static file and use IR checks for .cl tests (#197151)\n\nThis PR supercedes #87989.\n\nMoving external-funcs.test to static file simplifies\ntest/CMakeLists.txt. Static files follows llvm standard lit pattern and\nenables fine-grained check of missing symbols in specific libraries.\n\n.cl test files uses %target, %cpu and %check_prefix, which are replaced\nwith specific values during `ninja check-libclc` or `llvm-lit\nbuild/runtimes/runtimes-${triple}-llvm-bins/libclc/test`. This allows\nchecking outputs of multiple triples in the same test file.\n\nAdd script libclc/test/update_libclc_tests.py, which wraps\nutils/update_cc_test_checks.py to update CHECK lines in libclc .cl tests\nfor a given arch. Example usage:\n`libclc/test/update_libclc_tests.py amdgpu`\n\nAssisted-by: Claude Sonnet 4.6\n\n---------\n\nCo-authored-by: Matt Arsenault \u003carsenm2@gmail.com\u003e\nGitOrigin-RevId: f6007cf3ada595da3e003e0bc7f8dc1a86bff27b\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "0d5a20206ee19eae6b0557e59cfbbdfa0cf4f134",
      "old_mode": 33188,
      "old_path": "CMakeLists.txt",
      "new_id": "5630c8c59cca4cc20313b05b68499106e7a7732a",
      "new_mode": 33188,
      "new_path": "CMakeLists.txt"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "e3845288a2aece185aa94e88e303e0134efde368",
      "new_mode": 33188,
      "new_path": "test/.clang-format"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "ab877fb60120d4f60efd8dd7640def1376fe7a3b",
      "new_mode": 33188,
      "new_path": "test/AMDGPU/external-funcs.test"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "7c492428aec76149e5f5eebc1bc28ead35a3c4c3",
      "new_mode": 33188,
      "new_path": "test/AMDGPU/lit.local.cfg"
    },
    {
      "type": "modify",
      "old_id": "4c54d93b2681331a7d43b7335afa84ae37489094",
      "old_mode": 33188,
      "old_path": "test/CMakeLists.txt",
      "new_id": "0cbbc2838d624dc1ee2901ad724498434b2f8a87",
      "new_mode": 33188,
      "new_path": "test/CMakeLists.txt"
    },
    {
      "type": "delete",
      "old_id": "87c3d39df3542e41b448e0633ba6214bedfe30ab",
      "old_mode": 33188,
      "old_path": "test/add_sat.cl",
      "new_id": "0000000000000000000000000000000000000000",
      "new_mode": 0,
      "new_path": "/dev/null"
    },
    {
      "type": "delete",
      "old_id": "a926f48c4ea0cdac68595137e7a400a033824ac5",
      "old_mode": 33188,
      "old_path": "test/as_type.cl",
      "new_id": "0000000000000000000000000000000000000000",
      "new_mode": 0,
      "new_path": "/dev/null"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "2e2a79e4ebb1e6243d8505cd391002751b42953d",
      "new_mode": 33188,
      "new_path": "test/conversion/convert.cl"
    },
    {
      "type": "delete",
      "old_id": "8eba608dc5f8c823285fa90450fe03fd62ead91b",
      "old_mode": 33188,
      "old_path": "test/convert.cl",
      "new_id": "0000000000000000000000000000000000000000",
      "new_mode": 0,
      "new_path": "/dev/null"
    },
    {
      "type": "delete",
      "old_id": "92a998b3ba5f7b86858170c2acef972515acf0d0",
      "old_mode": 33188,
      "old_path": "test/cos.cl",
      "new_id": "0000000000000000000000000000000000000000",
      "new_mode": 0,
      "new_path": "/dev/null"
    },
    {
      "type": "delete",
      "old_id": "90762d0d073a692f1e512edc13f3b9d14caa447a",
      "old_mode": 33188,
      "old_path": "test/cross.cl",
      "new_id": "0000000000000000000000000000000000000000",
      "new_mode": 0,
      "new_path": "/dev/null"
    },
    {
      "type": "delete",
      "old_id": "3f5a964e0418aad04251a3508f3ebe0847137f51",
      "old_mode": 33188,
      "old_path": "test/fabs.cl",
      "new_id": "0000000000000000000000000000000000000000",
      "new_mode": 0,
      "new_path": "/dev/null"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "41be4176f76cf96b777e3c5fe54e34ed6004184a",
      "new_mode": 33188,
      "new_path": "test/geometric/cross.cl"
    },
    {
      "type": "delete",
      "old_id": "c2349a00768895bf6f0a360261ee509fad747cea",
      "old_mode": 33188,
      "old_path": "test/get_group_id.cl",
      "new_id": "0000000000000000000000000000000000000000",
      "new_mode": 0,
      "new_path": "/dev/null"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "21d17423e3f689ca132d8af6b8621cbabba7cbbe",
      "new_mode": 33188,
      "new_path": "test/integer/add_sat.cl"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "15096d57d66d76b9d13fc1a4cd23463cb51ba7d4",
      "new_mode": 33188,
      "new_path": "test/integer/sub_sat.cl"
    },
    {
      "type": "modify",
      "old_id": "de1865c2ab3b64bc04d185e4a03dca0ccbf753df",
      "old_mode": 33188,
      "old_path": "test/lit.cfg.py",
      "new_id": "22715411ea9d6903e1d189fee7b6620a92ea64f3",
      "new_mode": 33188,
      "new_path": "test/lit.cfg.py"
    },
    {
      "type": "modify",
      "old_id": "ca6ed0144ea9cc0dace86493080f31eb832a5493",
      "old_mode": 33188,
      "old_path": "test/lit.site.cfg.py.in",
      "new_id": "3c9acfc0551f0732c3265da2627e8edaab69b7af",
      "new_mode": 33188,
      "new_path": "test/lit.site.cfg.py.in"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "99d3acc2d714dee3510b838fc4689b196d1bc777",
      "new_mode": 33188,
      "new_path": "test/math/cos.cl"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "e512abd80468bd16d9ea04742eafc1ceac46e8f1",
      "new_mode": 33188,
      "new_path": "test/math/fabs.cl"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "339c93ea67cf1e1ce3950469cc977263921bd271",
      "new_mode": 33188,
      "new_path": "test/math/rsqrt.cl"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "25f9df2e111378d5b5e05a42b928cf66fe15c5cc",
      "new_mode": 33188,
      "new_path": "test/misc/as_type.cl"
    },
    {
      "type": "delete",
      "old_id": "4eebfe8ecf7f96ff460f4cfbd8119e5c6f138a78",
      "old_mode": 33188,
      "old_path": "test/rsqrt.cl",
      "new_id": "0000000000000000000000000000000000000000",
      "new_mode": 0,
      "new_path": "/dev/null"
    },
    {
      "type": "delete",
      "old_id": "5e6fbdcfbef9ea6aba0ea03c4572fd103fade3b0",
      "old_mode": 33188,
      "old_path": "test/subsat.cl",
      "new_id": "0000000000000000000000000000000000000000",
      "new_mode": 0,
      "new_path": "/dev/null"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "c0519088dd78216abba54bc95f1a6876985708b1",
      "new_mode": 33261,
      "new_path": "test/update_libclc_tests.py"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "1818662c60be1a9759ff01185184162163825366",
      "new_mode": 33188,
      "new_path": "test/work-item/get_group_id.cl"
    }
  ]
}
