)]}'
{
  "commit": "1a6640dd371cd9d144f1899007da07a3442f5244",
  "tree": "1bd9bdded102278821b8df2d45c7d1e46bfe3873",
  "parents": [
    "dcbd26e88dbb21e59bae0622194813af1d9ccade"
  ],
  "author": {
    "name": "L-roro",
    "email": "115032777+L-roro@users.noreply.github.com",
    "time": "Thu Dec 03 11:29:51 2026 +0100"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Thu Dec 03 11:29:51 2026 +0100"
  },
  "message": "Integrate LLVM to llvm/llvm-project@3ef8b8cd3ba3 (#25382)\n\nBumps `third_party/llvm-project` from 8c8449e58ba8 (+ carried revert) to\nupstream 3ef8b8cd3ba3 (832 commits). No commits are carried on top of\nupstream anymore.\n\n**LLVM branch:** `sm-iree-integrates/llvm-20261130` at 3ef8b8cd3ba3. It\nis currently only in my fork\n(https://github.com/L-roro/llvm-project/tree/sm-iree-integrates/llvm-20261130)\nbecause I don\u0027t have write access to `iree-org/llvm-project`. **Could a\nmaintainer please mirror it to `iree-org/llvm-project`?** CI can\u0027t check\nout the submodule until then. The branch is plain upstream `main`, so\nfrom any up-to-date LLVM checkout:\n\n```bash\ngit push https://github.com/iree-org/llvm-project.git 3ef8b8cd3ba3ccb7c1bf051f2a241bef3910d3e2:refs/heads/sm-iree-integrates/llvm-20261130\n```\n\n## Dropped revert\n\nDrops the carried revert of llvm/llvm-project@d71acc8f3779 (\"[mlir]\nAvoid eager invalidation in `DeadnessCache`\", llvm/llvm-project#244443).\n#25349 fixed the Flow pattern the revert was added for.\n\nExplanation -\u003e While the pattern rewriter is running, it keeps a list of\nthe IR it has just created or changed. If code deletes some of that IR\nbehind its back, without telling the rewriter, the list points to freed\nmemory and the compiler can crash.\n\nWith the revert gone, ASan found more patterns that delete\nrewriter-created blocks behind the rewriter\u0027s back, causing\nheap-use-after-free in `DeadnessCache::flushInvalidations()`.\nAdditionally, three places (PCF structural lowering, PCF bufferization,\nBitcastUnsupportedElementTypes) used the same risky pattern and, even\nthough they did not trigger ASan (because they are not being used inside\na greedy rewriter), I moved them to the same helper.\n\n## Other adaptations\n\n- llvm/llvm-project@c4675ee7d4d9 (\"[mlir][arith] Only fold\ntruncf(sitofp(x)) to sitofp(x) when the first conversion is exact\",\nllvm/llvm-project#233536):\n`convert_qdq_to_integer_math_scale_range.mlir` now expects `sitofp i32\nto f32` + `truncf` for the f16 result.\n- The same change no longer folds `sitofp i64 to f64` + `truncf f64 to\nf32` in host code. and `ArithToVM` had no `truncf` lowering. Added one:\n`vm.trunc.f64.f32` with the f64 extension, a no-op when the VM truncates\nf64 to f32. Also had to fix the `vm.trunc.f64.f32` constant folder,\nwhich was never used before and called `convertToFloat()` on an f64\nvalue (which, despite the name, does not convert between formats; it\nonly reads a value that is already single precision so we need to round\nthe f64 value to f32 explicitly).\n- With that lowering, `test_maxpool_2d_same_lower` and\n`test_maxpool_2d_same_upper` now compile and match expected outputs, so\nthey are removed from `expected_compile_failures` in the ONNX configs CI\nruns (cpu_llvm_sync O0/O2, hip rdna3 O3, hip rdna4 O3).\n\nAssisted-by: Claude Code\n\nSigned-off-by: L-roro \u003crodriguez@roofline.ai\u003e\nCo-authored-by: Claude Opus 5.5 \u003cnoreply@anthropic.com\u003e",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "8e83c06af020d18cd96e104498b7fad30cfa1ae5",
      "old_mode": 33188,
      "old_path": "compiler/src/iree/compiler/Codegen/Common/Transforms.cpp",
      "new_id": "2f53c42fe9f603847acad587647865fb2c80537f",
      "new_mode": 33188,
      "new_path": "compiler/src/iree/compiler/Codegen/Common/Transforms.cpp"
    },
    {
      "type": "modify",
      "old_id": "a2ba985a4336adf7e788621eea18c110e05b3215",
      "old_mode": 33188,
      "old_path": "compiler/src/iree/compiler/Codegen/Dialect/GPU/Transforms/Transforms.cpp",
      "new_id": "d20868f75bfcda4add2c585afdf82667856c42fa",
      "new_mode": 33188,
      "new_path": "compiler/src/iree/compiler/Codegen/Dialect/GPU/Transforms/Transforms.cpp"
    },
    {
      "type": "modify",
      "old_id": "a186ed00b07a1aef5dfbb14f07d9f87521358b3d",
      "old_mode": 33188,
      "old_path": "compiler/src/iree/compiler/Codegen/Dialect/PCF/ExternalInterfaces/BUILD.bazel",
      "new_id": "e3e9b0d52f3dbeee25a15157ace087a43a8f718c",
      "new_mode": 33188,
      "new_path": "compiler/src/iree/compiler/Codegen/Dialect/PCF/ExternalInterfaces/BUILD.bazel"
    },
    {
      "type": "modify",
      "old_id": "514d2fbea7d01e9b6d32e78f73f32b99cc061465",
      "old_mode": 33188,
      "old_path": "compiler/src/iree/compiler/Codegen/Dialect/PCF/ExternalInterfaces/BufferizationExternalModels.cpp",
      "new_id": "16f5b971301a738ee91fa44cb37d38976d6670e3",
      "new_mode": 33188,
      "new_path": "compiler/src/iree/compiler/Codegen/Dialect/PCF/ExternalInterfaces/BufferizationExternalModels.cpp"
    },
    {
      "type": "modify",
      "old_id": "628593e894ed3c1cff1919ab5a588104de2ca325",
      "old_mode": 33188,
      "old_path": "compiler/src/iree/compiler/Codegen/Dialect/PCF/ExternalInterfaces/CMakeLists.txt",
      "new_id": "29e5892c91d1bd56bcfc24e2233a6a1cbb1ccb6a",
      "new_mode": 33188,
      "new_path": "compiler/src/iree/compiler/Codegen/Dialect/PCF/ExternalInterfaces/CMakeLists.txt"
    },
    {
      "type": "modify",
      "old_id": "f813f27148ec5a1169ef12402434e602e7b5e32c",
      "old_mode": 33188,
      "old_path": "compiler/src/iree/compiler/Codegen/Dialect/PCF/Transforms/FuseConsumers.cpp",
      "new_id": "ac185f2e186368a35a48453d323aa85469d4fbd7",
      "new_mode": 33188,
      "new_path": "compiler/src/iree/compiler/Codegen/Dialect/PCF/Transforms/FuseConsumers.cpp"
    },
    {
      "type": "modify",
      "old_id": "8bcad94bb00ce19a96f2fdf8f4b961238c1379d5",
      "old_mode": 33188,
      "old_path": "compiler/src/iree/compiler/Codegen/Dialect/PCF/Transforms/LowerStructuralPCF.cpp",
      "new_id": "11d704dd40d1ff779339c40d5c6dac3606a799f7",
      "new_mode": 33188,
      "new_path": "compiler/src/iree/compiler/Codegen/Dialect/PCF/Transforms/LowerStructuralPCF.cpp"
    },
    {
      "type": "modify",
      "old_id": "0e2f2098f6099502fa62f0f57fc3f807d65bac1d",
      "old_mode": 33188,
      "old_path": "compiler/src/iree/compiler/Codegen/Dialect/PCF/Transforms/Transforms.cpp",
      "new_id": "3017a8b907078e19c9b48941fc36409c2bc88bcb",
      "new_mode": 33188,
      "new_path": "compiler/src/iree/compiler/Codegen/Dialect/PCF/Transforms/Transforms.cpp"
    },
    {
      "type": "modify",
      "old_id": "a4a9450ced0ba781b0157aaa69db0247108f15ac",
      "old_mode": 33188,
      "old_path": "compiler/src/iree/compiler/Dialect/VM/Conversion/ArithToVM/Patterns.cpp",
      "new_id": "17c954c67b00db3cca68e39581502da490346eb7",
      "new_mode": 33188,
      "new_path": "compiler/src/iree/compiler/Dialect/VM/Conversion/ArithToVM/Patterns.cpp"
    },
    {
      "type": "modify",
      "old_id": "3076f512dc6f4e0baf4b587a071a42f677c9c85a",
      "old_mode": 33188,
      "old_path": "compiler/src/iree/compiler/Dialect/VM/Conversion/ArithToVM/test/BUILD.bazel",
      "new_id": "e204e7689ba588072e6c63b0a405fa7eee9aee52",
      "new_mode": 33188,
      "new_path": "compiler/src/iree/compiler/Dialect/VM/Conversion/ArithToVM/test/BUILD.bazel"
    },
    {
      "type": "modify",
      "old_id": "71f35675b74876e0cd4f46441add53a149553116",
      "old_mode": 33188,
      "old_path": "compiler/src/iree/compiler/Dialect/VM/Conversion/ArithToVM/test/CMakeLists.txt",
      "new_id": "e0c91a3b5f2473fe708a65d7e93fbb641438b792",
      "new_mode": 33188,
      "new_path": "compiler/src/iree/compiler/Dialect/VM/Conversion/ArithToVM/test/CMakeLists.txt"
    },
    {
      "type": "modify",
      "old_id": "c0ff5077849962ec5e96776b8667da65c490d1fe",
      "old_mode": 33188,
      "old_path": "compiler/src/iree/compiler/Dialect/VM/Conversion/ArithToVM/test/conversion_ops.mlir",
      "new_id": "c6a12e8e114d1dea00df54512079d6068b77fd59",
      "new_mode": 33188,
      "new_path": "compiler/src/iree/compiler/Dialect/VM/Conversion/ArithToVM/test/conversion_ops.mlir"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "9d195454e00f064df6bd1f25b2fc26ab5631e1e6",
      "new_mode": 33188,
      "new_path": "compiler/src/iree/compiler/Dialect/VM/Conversion/ArithToVM/test/conversion_ops_truncate_f64.mlir"
    },
    {
      "type": "modify",
      "old_id": "078e6a67549208c1fa381196606075ee2b8a9f23",
      "old_mode": 33188,
      "old_path": "compiler/src/iree/compiler/Dialect/VM/IR/VMOpFolders.cpp",
      "new_id": "65542a3a4dbef22a36eb4a94c955f181f7fc73c7",
      "new_mode": 33188,
      "new_path": "compiler/src/iree/compiler/Dialect/VM/IR/VMOpFolders.cpp"
    },
    {
      "type": "modify",
      "old_id": "495927ec6acfc07f14e044fc541de81639946268",
      "old_mode": 33188,
      "old_path": "compiler/src/iree/compiler/Dialect/VM/IR/test/conversion_folding.mlir",
      "new_id": "ffdedc73076cf1e72c4ad83c9728a086266d0273",
      "new_mode": 33188,
      "new_path": "compiler/src/iree/compiler/Dialect/VM/IR/test/conversion_folding.mlir"
    },
    {
      "type": "modify",
      "old_id": "6f55a38a486fce4013318a291463686462b17329",
      "old_mode": 33188,
      "old_path": "compiler/src/iree/compiler/DispatchCreation/BitcastUnsupportedElementTypes.cpp",
      "new_id": "18c34eff93f6163dcf7e717f022525fd2c556611",
      "new_mode": 33188,
      "new_path": "compiler/src/iree/compiler/DispatchCreation/BitcastUnsupportedElementTypes.cpp"
    },
    {
      "type": "modify",
      "old_id": "3cdab8778011e509508c406a83a75aede85dc97b",
      "old_mode": 33188,
      "old_path": "compiler/src/iree/compiler/GlobalOptimization/test/convert_qdq_to_integer_math_scale_range.mlir",
      "new_id": "3e174543cd9313e62a4a61f7f6ecf52cf568cc92",
      "new_mode": 33188,
      "new_path": "compiler/src/iree/compiler/GlobalOptimization/test/convert_qdq_to_integer_math_scale_range.mlir"
    },
    {
      "type": "modify",
      "old_id": "a82a611fafc4f6d26f0c48b2023cdfa8a5c8d922",
      "old_mode": 33188,
      "old_path": "compiler/src/iree/compiler/Utils/RewriteUtils.h",
      "new_id": "4d3bfa052947a919d71819a494dd80831a762515",
      "new_mode": 33188,
      "new_path": "compiler/src/iree/compiler/Utils/RewriteUtils.h"
    },
    {
      "type": "modify",
      "old_id": "9b691678e87b563e1a1397b8d38530ff9a66678b",
      "old_mode": 33188,
      "old_path": "tests/external/iree-test-suites/onnx_ops/onnx_ops_cpu_llvm_sync_O0.json",
      "new_id": "b3120272370aaf8634670361307fb99b166d1e94",
      "new_mode": 33188,
      "new_path": "tests/external/iree-test-suites/onnx_ops/onnx_ops_cpu_llvm_sync_O0.json"
    },
    {
      "type": "modify",
      "old_id": "97d9c23b99a6cbefd735e31bd79b7da2a9dc41dc",
      "old_mode": 33188,
      "old_path": "tests/external/iree-test-suites/onnx_ops/onnx_ops_cpu_llvm_sync_O2.json",
      "new_id": "15fad7875c03fe3fec25310451848dedf97ef27c",
      "new_mode": 33188,
      "new_path": "tests/external/iree-test-suites/onnx_ops/onnx_ops_cpu_llvm_sync_O2.json"
    },
    {
      "type": "modify",
      "old_id": "db2506d201d9f0d466d0de74eab09e2ead694929",
      "old_mode": 33188,
      "old_path": "tests/external/iree-test-suites/onnx_ops/onnx_ops_gpu_hip_rdna3_O3.json",
      "new_id": "bd28c729347a1120776f3d9712837654b70816c2",
      "new_mode": 33188,
      "new_path": "tests/external/iree-test-suites/onnx_ops/onnx_ops_gpu_hip_rdna3_O3.json"
    },
    {
      "type": "modify",
      "old_id": "882fd75b1d8263b075739ab5fe8f72352cc917d3",
      "old_mode": 33188,
      "old_path": "tests/external/iree-test-suites/onnx_ops/onnx_ops_gpu_hip_rdna4_O3.json",
      "new_id": "0320d56f446848361d96072675d397c86720b6f0",
      "new_mode": 33188,
      "new_path": "tests/external/iree-test-suites/onnx_ops/onnx_ops_gpu_hip_rdna4_O3.json"
    },
    {
      "type": "modify",
      "old_id": "f2f1a0ab1350f48e04030fb9f5b26dda09be7550",
      "old_mode": 57344,
      "old_path": "third_party/llvm-project",
      "new_id": "3ef8b8cd3ba3ccb7c1bf051f2a241bef3910d3e2",
      "new_mode": 57344,
      "new_path": "third_party/llvm-project"
    }
  ]
}
