)]}'
{
  "commit": "94cb5993a90523669770a2a7a998d0a9a09147b5",
  "tree": "71cdb3f8ff809206452a0e3fcdb4a86865a936e3",
  "parents": [
    "074c2f11f7011573d1d29e632e276c1544b687f7"
  ],
  "author": {
    "name": "Yalong",
    "email": "yalong@multicorewareinc.com",
    "time": "Fri Oct 30 14:27:17 2026 +0800"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Fri Oct 30 06:27:17 2026 +0000"
  },
  "message": "[Torch] Register RestructureNonConstantAxes in the Torch input pipeline (#25041)\n\nThe torch-to-iree input pipeline did not schedule\nRestructureNonConstantAxes,\nso ONNX reductions with a runtime axes tensor kept a runtime `dim` and\nfailed\nto legalize in ConvertTorchToLinalg with:\n\u003e failed to legalize operation \u0027torch.aten.sum.dim_IntList\u0027\n\nAlthough the pass is registered and visible in `iree-opt -help`, it was\nnever\nrun by default `iree-compile`. This schedules it before\nConvertTorchToTMTensor\nso runtime single-element reduction axes (keepdims\u003d1) are statically\nresolved\nand lower cleanly to linalg.\n\nAlso adds a lit smoke test running the full torch-to-iree pipeline to\nguard the\npass stays scheduled, and updates the onnx_ops cpu_llvm_sync O0/O2 xfail\nconfigs.\n\nFixes 28 reduce cases(improving onnx_ops pass counts: 864 -\u003e 892 passed\n(O0), 893 passed (O2)).\n\nPart of iree-org/iree#24378\n\nAssisted-by: Claude Code, Doubao, DeepSeek\n\n\nFixed case lists:\n```\ntest_reduce_l1_keep_dims_example\ntest_reduce_l1_keep_dims_example_expanded\ntest_reduce_l1_keep_dims_random\ntest_reduce_l1_keep_dims_random_expanded\ntest_reduce_l1_negative_axes_keep_dims_example\ntest_reduce_l1_negative_axes_keep_dims_example_expanded\ntest_reduce_l1_negative_axes_keep_dims_random\ntest_reduce_l1_negative_axes_keep_dims_random_expanded\ntest_reduce_l2_keep_dims_example\ntest_reduce_l2_keep_dims_random\ntest_reduce_l2_negative_axes_keep_dims_example\ntest_reduce_l2_negative_axes_keep_dims_random\ntest_reduce_log_sum_exp_keepdims_example\ntest_reduce_log_sum_exp_keepdims_random\ntest_reduce_log_sum_exp_negative_axes_keepdims_example\ntest_reduce_log_sum_exp_negative_axes_keepdims_random\ntest_reduce_sum_keepdims_example\ntest_reduce_sum_keepdims_random\ntest_reduce_sum_negative_axes_keepdims_example\ntest_reduce_sum_negative_axes_keepdims_random\ntest_reduce_sum_square_keepdims_example\ntest_reduce_sum_square_keepdims_example_expanded\ntest_reduce_sum_square_keepdims_random\ntest_reduce_sum_square_keepdims_random_expanded\ntest_reduce_sum_square_negative_axes_keepdims_example\ntest_reduce_sum_square_negative_axes_keepdims_example_expanded\ntest_reduce_sum_square_negative_axes_keepdims_random\ntest_reduce_sum_square_negative_axes_keepdims_random_expanded\n```\n\nSigned-off-by: Yalong \u003cyalong@multicorewareinc.com\u003e",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "23a7bf800f6f3ef6dad93b79034d3a20ca0939a6",
      "old_mode": 33188,
      "old_path": "compiler/plugins/input/Torch/InputConversion/Passes.cpp",
      "new_id": "df809a8fb3edfa51ecca9ca46d25422257ec83ac",
      "new_mode": 33188,
      "new_path": "compiler/plugins/input/Torch/InputConversion/Passes.cpp"
    },
    {
      "type": "modify",
      "old_id": "012e35a568ddadb2a3cf34151f3bc49f22f2726a",
      "old_mode": 33188,
      "old_path": "compiler/plugins/input/Torch/InputConversion/test/BUILD.bazel",
      "new_id": "c12a41eacb7265abcfbd5494e5eec474112bc317",
      "new_mode": 33188,
      "new_path": "compiler/plugins/input/Torch/InputConversion/test/BUILD.bazel"
    },
    {
      "type": "modify",
      "old_id": "c35e7db7217905e74eb0f055153a321d6cab7d6f",
      "old_mode": 33188,
      "old_path": "compiler/plugins/input/Torch/InputConversion/test/CMakeLists.txt",
      "new_id": "441608f79f7bd3a45a67d681dfef9e2c65f8a23d",
      "new_mode": 33188,
      "new_path": "compiler/plugins/input/Torch/InputConversion/test/CMakeLists.txt"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "eeb4d92472205b20a6914c485bed8a787bf4ac80",
      "new_mode": 33188,
      "new_path": "compiler/plugins/input/Torch/InputConversion/test/torch_onnx_to_iree.mlir"
    },
    {
      "type": "modify",
      "old_id": "abb1fbe81e74adc42a411f0e18ee2774da13a675",
      "old_mode": 33188,
      "old_path": "tests/external/iree-test-suites/onnx_ops/onnx_ops_cpu_llvm_sync_O0.json",
      "new_id": "15f95cc73c29357f94f11da48cf25cb1d8a6f365",
      "new_mode": 33188,
      "new_path": "tests/external/iree-test-suites/onnx_ops/onnx_ops_cpu_llvm_sync_O0.json"
    },
    {
      "type": "modify",
      "old_id": "481212a97796036234c81a2b92b1a1c674487da5",
      "old_mode": 33188,
      "old_path": "tests/external/iree-test-suites/onnx_ops/onnx_ops_cpu_llvm_sync_O2.json",
      "new_id": "e3d16d6773f2912ffd7ccfbb5297fe75ee823c17",
      "new_mode": 33188,
      "new_path": "tests/external/iree-test-suites/onnx_ops/onnx_ops_cpu_llvm_sync_O2.json"
    }
  ]
}
