)]}'
{
  "commit": "7fffae0105d04fe58dc922bb66a885e1424dadda",
  "tree": "dc59f82923fea1566bbee9fd8ad795446819763e",
  "parents": [
    "2e4e490b0360bd2c06a888a649b02866317f6067"
  ],
  "author": {
    "name": "Maksymilian B. Knust",
    "email": "knust@roofline.ai",
    "time": "Wed Oct 28 13:42:05 2026 +0100"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Wed Oct 28 13:42:05 2026 +0100"
  },
  "message": "Integrate LLVM to llvm/llvm-project@1bd41d70d179 (#25129)\n\nThe upstream LLVM bazel build broke, hence I cherry-picked this fix\ncommit:\n-\nhttps://github.com/llvm/llvm-project/commit/aa5c7b777908364447188c64fbf737141af496d1\n\nMoreover, I had to make some changes to IREE itself:\n\n1) Store a global `LibraryOptionsContext`\n- needed because `PassBuilder` now takes a `LLVMContext\u0026` with those\noptions\n- `PipelineTuningOptions` combines settings supplied by IREE with those\nprovided by the context\n - see https://github.com/llvm/llvm-project/pull/233150\n\n2) Remove workaround for AMDGPU loop unrolling\n- no longer needed as of\nhttps://github.com/llvm/llvm-project/pull/223291\n - this used to be handled in `ROCMTarget.cpp` by overriding an option\n\n3) Adapt to target-specific passes being split out of MLIRGpuTransforms\n - see https://github.com/llvm/llvm-project/pull/234903\n- AMD-specific `populateGpu...Patterns` now live in\nMLIRGPUROCDLTransforms\n   - header is `mlir/Dialect/GPU/Transforms/ROCDL/Passes.h`\n- still need to link `iree_compiler_API_SharedImpl` against the\nnow-split target libs, because MLIRCAPIGPU references them\n\n4) Update lit tests related to softmax, which now uses a finite\nreduction identity\n - see https://github.com/llvm/llvm-project/pull/232257\n\n5) Adjust LLVMGPULegalizeNDVectors to work with new `tensor.extract`\nfolding\n - see https://github.com/llvm/llvm-project/pull/228686\n - added two lit cases in `legalize_nd_vectors.mlir`\n\n6) Remove workaround for packed reductions\n- fixed in upstream by: https://github.com/llvm/llvm-project/pull/221430\n - keeping it would remap index twice, which would be incorrect\n\nAssisted-by: Codex\n\nSigned-off-by: Maksymilian B. Knust \u003cknust@roofline.ai\u003e",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "c993ad0352420d1d06c5bee4d804da43f3622273",
      "old_mode": 33188,
      "old_path": "build_tools/cmake/iree_renamed_link.cmake",
      "new_id": "07ce9181fdd457e07c949fcb18b8209c23f4fb12",
      "new_mode": 33188,
      "new_path": "build_tools/cmake/iree_renamed_link.cmake"
    },
    {
      "type": "modify",
      "old_id": "50bfa182c1a585786618fec4af8490ee0d70e332",
      "old_mode": 33188,
      "old_path": "compiler/plugins/target/CUDA/CUDATarget.cpp",
      "new_id": "2dd3cecdbef1ffd347ed820589cf6623d5599f0c",
      "new_mode": 33188,
      "new_path": "compiler/plugins/target/CUDA/CUDATarget.cpp"
    },
    {
      "type": "modify",
      "old_id": "db7b4bd102700170d2555d89e84d05e64b544504",
      "old_mode": 33188,
      "old_path": "compiler/plugins/target/LLVMCPU/LLVMCPUTarget.cpp",
      "new_id": "11ec7df91dfbda8b668ef8f4591a9a932f4a410b",
      "new_mode": 33188,
      "new_path": "compiler/plugins/target/LLVMCPU/LLVMCPUTarget.cpp"
    },
    {
      "type": "modify",
      "old_id": "2b482ef98b54efedbd448d090fc0aed11eb317ea",
      "old_mode": 33188,
      "old_path": "compiler/plugins/target/LLVMCPU/LLVMIRPasses.cpp",
      "new_id": "03f628bb26b044579629f3d859f63f68bf76f27a",
      "new_mode": 33188,
      "new_path": "compiler/plugins/target/LLVMCPU/LLVMIRPasses.cpp"
    },
    {
      "type": "modify",
      "old_id": "26f06f615e9155eecaaa58d9394e87650e5f7d45",
      "old_mode": 33188,
      "old_path": "compiler/plugins/target/LLVMCPU/LLVMTargetOptions.cpp",
      "new_id": "366edf0bb820481ab8c1125038d75d48ed682ee3",
      "new_mode": 33188,
      "new_path": "compiler/plugins/target/LLVMCPU/LLVMTargetOptions.cpp"
    },
    {
      "type": "modify",
      "old_id": "c8b1493c8d1f4661a51710fe02b203cfad77ebbe",
      "old_mode": 33188,
      "old_path": "compiler/plugins/target/ROCM/ROCMTarget.cpp",
      "new_id": "0f46d7ef0b7dbcace7582e781400c8f9ecf8c52d",
      "new_mode": 33188,
      "new_path": "compiler/plugins/target/ROCM/ROCMTarget.cpp"
    },
    {
      "type": "modify",
      "old_id": "af3edc9810eb8ac7c28b8d5345755a76eb77dfd5",
      "old_mode": 33188,
      "old_path": "compiler/src/iree/compiler/API/CMakeLists.txt",
      "new_id": "abe27ccf3fc00f74b74f7a4cb0ab37b2640a0e84",
      "new_mode": 33188,
      "new_path": "compiler/src/iree/compiler/API/CMakeLists.txt"
    },
    {
      "type": "modify",
      "old_id": "4de946e844433cb248bbde5224a1792cfe2885bf",
      "old_mode": 33188,
      "old_path": "compiler/src/iree/compiler/API/Internal/BUILD.bazel",
      "new_id": "248af39d4c2d9752fc33bb1e6009c2da8f236c08",
      "new_mode": 33188,
      "new_path": "compiler/src/iree/compiler/API/Internal/BUILD.bazel"
    },
    {
      "type": "modify",
      "old_id": "86315b4204dbcf7e9ca9f6826be54fd871908f1d",
      "old_mode": 33188,
      "old_path": "compiler/src/iree/compiler/API/Internal/CMakeLists.txt",
      "new_id": "7655971215a670f7e83b608066fea5d82ac30abf",
      "new_mode": 33188,
      "new_path": "compiler/src/iree/compiler/API/Internal/CMakeLists.txt"
    },
    {
      "type": "modify",
      "old_id": "e7c80cb92dd40fe0f9edd7721a394e35febf2571",
      "old_mode": 33188,
      "old_path": "compiler/src/iree/compiler/API/Internal/CompilerDriver.cpp",
      "new_id": "0dc4e3632b7020e632579e4634ab8353b4e43b87",
      "new_mode": 33188,
      "new_path": "compiler/src/iree/compiler/API/Internal/CompilerDriver.cpp"
    },
    {
      "type": "modify",
      "old_id": "b1c50b22a1bb703a187afeeca283301994ba96c8",
      "old_mode": 33188,
      "old_path": "compiler/src/iree/compiler/API/Internal/IREEOptToolEntryPoint.cpp",
      "new_id": "3ca7085ed1be434a5a31bcb8b38d018c0e144043",
      "new_mode": 33188,
      "new_path": "compiler/src/iree/compiler/API/Internal/IREEOptToolEntryPoint.cpp"
    },
    {
      "type": "modify",
      "old_id": "e657eb4bb91453ba250c75e8238d95067d2bd185",
      "old_mode": 33188,
      "old_path": "compiler/src/iree/compiler/Codegen/Common/GPU/BUILD.bazel",
      "new_id": "d67f77165fcf8472efe451013af8b613af161c5a",
      "new_mode": 33188,
      "new_path": "compiler/src/iree/compiler/Codegen/Common/GPU/BUILD.bazel"
    },
    {
      "type": "modify",
      "old_id": "0145290d30462f086529b15773ce50537b3b07df",
      "old_mode": 33188,
      "old_path": "compiler/src/iree/compiler/Codegen/Common/GPU/CMakeLists.txt",
      "new_id": "e348285238e99160658a9908d13f80f4c4848d9d",
      "new_mode": 33188,
      "new_path": "compiler/src/iree/compiler/Codegen/Common/GPU/CMakeLists.txt"
    },
    {
      "type": "modify",
      "old_id": "818b4cf008191dd7af509547f2c37b12f2bfe931",
      "old_mode": 33188,
      "old_path": "compiler/src/iree/compiler/Codegen/Common/GPU/ExpandGPUOps.cpp",
      "new_id": "f3ddddb7690cf973fbaf039a663731fc4862720f",
      "new_mode": 33188,
      "new_path": "compiler/src/iree/compiler/Codegen/Common/GPU/ExpandGPUOps.cpp"
    },
    {
      "type": "modify",
      "old_id": "390882f1f55f7d399c3d57dc6ea921b81fea1c01",
      "old_mode": 33188,
      "old_path": "compiler/src/iree/compiler/Codegen/Common/GPU/GPUPackPartialReductions.cpp",
      "new_id": "9f27cbdb10a986a465daa86be4ba9c505f5f7d08",
      "new_mode": 33188,
      "new_path": "compiler/src/iree/compiler/Codegen/Common/GPU/GPUPackPartialReductions.cpp"
    },
    {
      "type": "modify",
      "old_id": "a71ebec5f7f20ffccd9eed7fc4c6d52780e63581",
      "old_mode": 33188,
      "old_path": "compiler/src/iree/compiler/Codegen/Common/GPU/test/gpu_pack_partial_reductions.mlir",
      "new_id": "f8df165f3c7e5a9110d3b61197bb6e09295ef9dd",
      "new_mode": 33188,
      "new_path": "compiler/src/iree/compiler/Codegen/Common/GPU/test/gpu_pack_partial_reductions.mlir"
    },
    {
      "type": "modify",
      "old_id": "49f437f95b710f4f491823281e34eb1c59a97195",
      "old_mode": 33188,
      "old_path": "compiler/src/iree/compiler/Codegen/Common/test/decompose_softmax.mlir",
      "new_id": "5fda2add2b55d06930bb6eeedc1ac9e93683f7ba",
      "new_mode": 33188,
      "new_path": "compiler/src/iree/compiler/Codegen/Common/test/decompose_softmax.mlir"
    },
    {
      "type": "modify",
      "old_id": "384532191a95750562962b99cc77c5f72e4e7063",
      "old_mode": 33188,
      "old_path": "compiler/src/iree/compiler/Codegen/LLVMGPU/BUILD.bazel",
      "new_id": "ecfcd94d20a1dde0accc85a3b6f8a51ed2fcb5d5",
      "new_mode": 33188,
      "new_path": "compiler/src/iree/compiler/Codegen/LLVMGPU/BUILD.bazel"
    },
    {
      "type": "modify",
      "old_id": "59d85226a021fca3a8ec66a4368d18509c4e683a",
      "old_mode": 33188,
      "old_path": "compiler/src/iree/compiler/Codegen/LLVMGPU/CMakeLists.txt",
      "new_id": "be4c8663c608ffcc039b89c7283b952c6f9fb0be",
      "new_mode": 33188,
      "new_path": "compiler/src/iree/compiler/Codegen/LLVMGPU/CMakeLists.txt"
    },
    {
      "type": "modify",
      "old_id": "329305b18a2c94186555466a417811246c089020",
      "old_mode": 33188,
      "old_path": "compiler/src/iree/compiler/Codegen/LLVMGPU/ConvertToROCDL.cpp",
      "new_id": "d60f9678e2d321b611f1d8ff3a5eae8a546455c0",
      "new_mode": 33188,
      "new_path": "compiler/src/iree/compiler/Codegen/LLVMGPU/ConvertToROCDL.cpp"
    },
    {
      "type": "modify",
      "old_id": "d7a87ac6e82f90736d97d1f8cf24847c21224773",
      "old_mode": 33188,
      "old_path": "compiler/src/iree/compiler/Codegen/LLVMGPU/LLVMGPULegalizeNDVectors.cpp",
      "new_id": "c1f725ee0ae263b7e09c6dd2454c2dad2979ec74",
      "new_mode": 33188,
      "new_path": "compiler/src/iree/compiler/Codegen/LLVMGPU/LLVMGPULegalizeNDVectors.cpp"
    },
    {
      "type": "modify",
      "old_id": "6b7e7254ecab551ee38943476eac81ca34b3461e",
      "old_mode": 33188,
      "old_path": "compiler/src/iree/compiler/Codegen/LLVMGPU/test/ROCDL/pipeline_argcompare_tile_and_fuse.mlir",
      "new_id": "052a250e260e84d7fdc0857a51cae26cff03c6d9",
      "new_mode": 33188,
      "new_path": "compiler/src/iree/compiler/Codegen/LLVMGPU/test/ROCDL/pipeline_argcompare_tile_and_fuse.mlir"
    },
    {
      "type": "modify",
      "old_id": "05f6734afd9ccc062c69ed72ce85c7c2e57d019d",
      "old_mode": 33188,
      "old_path": "compiler/src/iree/compiler/Codegen/LLVMGPU/test/legalize_nd_vectors.mlir",
      "new_id": "132b170fc60919dab4c73083a368f4a27f0e4100",
      "new_mode": 33188,
      "new_path": "compiler/src/iree/compiler/Codegen/LLVMGPU/test/legalize_nd_vectors.mlir"
    },
    {
      "type": "modify",
      "old_id": "839d280f913a68d2a284bc0d3e4135b607cfd075",
      "old_mode": 33188,
      "old_path": "compiler/src/iree/compiler/Codegen/LLVMGPU/test/reduction_pipeline_cuda.mlir",
      "new_id": "c4b56cb2ed2fe3a190676b918eb02e47edcf9fe1",
      "new_mode": 33188,
      "new_path": "compiler/src/iree/compiler/Codegen/LLVMGPU/test/reduction_pipeline_cuda.mlir"
    },
    {
      "type": "modify",
      "old_id": "bd477867cef53488723aa58be717a65523b3fcf8",
      "old_mode": 33188,
      "old_path": "compiler/src/iree/compiler/Codegen/SPIRV/test/lowering_reduction.mlir",
      "new_id": "7244a51ccd13f046d56c9c55629b285d01e021a4",
      "new_mode": 33188,
      "new_path": "compiler/src/iree/compiler/Codegen/SPIRV/test/lowering_reduction.mlir"
    },
    {
      "type": "modify",
      "old_id": "dd650568cfbb5ae0f36d4eca75ad0e73eb359b6b",
      "old_mode": 33188,
      "old_path": "compiler/src/iree/compiler/Utils/OptionUtils.cpp",
      "new_id": "fb4377c6dec4d734e13df92ec952d91a330a3589",
      "new_mode": 33188,
      "new_path": "compiler/src/iree/compiler/Utils/OptionUtils.cpp"
    },
    {
      "type": "modify",
      "old_id": "d1a503def43038bd17d798c97f76adcaa9f9f43a",
      "old_mode": 33188,
      "old_path": "compiler/src/iree/compiler/Utils/OptionUtils.h",
      "new_id": "92b8f8aba8c71a03863fc3bb3e9f1de7abf79fed",
      "new_mode": 33188,
      "new_path": "compiler/src/iree/compiler/Utils/OptionUtils.h"
    },
    {
      "type": "modify",
      "old_id": "d033127d27ef0becca9d73edb667ac37442309a4",
      "old_mode": 57344,
      "old_path": "third_party/llvm-project",
      "new_id": "1bd41d70d179a1dd8daeab69b41ea55732df48bc",
      "new_mode": 57344,
      "new_path": "third_party/llvm-project"
    }
  ]
}
