)]}'
{
  "commit": "8c41e5177f6a8cc33200bb91c8b01dee72bf0942",
  "tree": "082599d3d5713f9dc6a32f1c757ae9de1c986594",
  "parents": [
    "3a185448429483a55c16a7147aca6f8a20adebae"
  ],
  "author": {
    "name": "Jakub Kuderski",
    "email": "kubak@google.com",
    "time": "Tue May 30 11:34:46 2023 -0400"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Tue May 30 11:34:46 2023 -0400"
  },
  "message": "[StableHLO][CHLO] Port CHLO decomposition patterns (#13838)\n\nThese are ported from the mlir-hlo project. For more context, see the\r\ninitial import: https://github.com/openxla/iree/pull/12957.\r\n\r\nThe biggest difference it the removal of most FileCheck CHECK lines in\r\ntests. MHLO hardcoded thousands lines of exact decomposition sequences\r\nthat fell apart after due to different canonicalizations and folds.\r\nWithout a script to regenerate these CHECKs, these tests were not\r\nmaintainable and I decided to drop them. Now we only check that the\r\ndialect conversion succeeded.\r\n\r\nOther notable differences to the MHLO implementation:\r\n-  Ported some utility functions and tablegen defs.\r\n-  New `chlo.tan` lowering, since StableHLO does not provide a tan op.\r\n\r\nIssue: https://github.com/openxla/iree/issues/13803",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "666d1f004990496f6cac681b5667d0e6ec0425e7",
      "old_mode": 33188,
      "old_path": "compiler/src/iree/compiler/InputConversion/StableHLO/BUILD.bazel",
      "new_id": "7070947b57df5f5711bae833d535f74de0a78f51",
      "new_mode": 33188,
      "new_path": "compiler/src/iree/compiler/InputConversion/StableHLO/BUILD.bazel"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "30ea436292a3294d8b8d992b59cc2b6a0b4d3280",
      "new_mode": 33188,
      "new_path": "compiler/src/iree/compiler/InputConversion/StableHLO/CHLODecompositionPatterns.td"
    },
    {
      "type": "modify",
      "old_id": "a4b3bc6722303f8db6b27132b13c52b327964180",
      "old_mode": 33188,
      "old_path": "compiler/src/iree/compiler/InputConversion/StableHLO/CMakeLists.txt",
      "new_id": "26c54f4c25c4eb9fc582c7a17807fcbf39ab89c2",
      "new_mode": 33188,
      "new_path": "compiler/src/iree/compiler/InputConversion/StableHLO/CMakeLists.txt"
    },
    {
      "type": "modify",
      "old_id": "f335483545c54f533d57ece99c38ba5039ad2730",
      "old_mode": 33188,
      "old_path": "compiler/src/iree/compiler/InputConversion/StableHLO/LegalizeCHLO.cpp",
      "new_id": "81941b286e16c89b291824b0e94c266b5e2169d6",
      "new_mode": 33188,
      "new_path": "compiler/src/iree/compiler/InputConversion/StableHLO/LegalizeCHLO.cpp"
    },
    {
      "type": "modify",
      "old_id": "38e3092f3e8b50360f085d71e8ca0099f0ef3ba5",
      "old_mode": 33188,
      "old_path": "compiler/src/iree/compiler/InputConversion/StableHLO/test/BUILD.bazel",
      "new_id": "345673ec8a829f3ba63be1453751962c131776cb",
      "new_mode": 33188,
      "new_path": "compiler/src/iree/compiler/InputConversion/StableHLO/test/BUILD.bazel"
    },
    {
      "type": "modify",
      "old_id": "4137021d6d0c884b39dd521621b8e3df23e17b22",
      "old_mode": 33188,
      "old_path": "compiler/src/iree/compiler/InputConversion/StableHLO/test/CMakeLists.txt",
      "new_id": "4e4311a30a251788e6168e2dbf4ba48e3c118ad3",
      "new_mode": 33188,
      "new_path": "compiler/src/iree/compiler/InputConversion/StableHLO/test/CMakeLists.txt"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "6bf4697fbc6de319f72f96693b6b1bcabeffef06",
      "new_mode": 33188,
      "new_path": "compiler/src/iree/compiler/InputConversion/StableHLO/test/legalize_chlo_decomposition.mlir"
    },
    {
      "type": "modify",
      "old_id": "b12486376071698e66dc3da3e53b25ca618577bc",
      "old_mode": 33188,
      "old_path": "compiler/src/iree/compiler/InputConversion/StableHLO/test/legalize_chlo_no_broadcast.mlir",
      "new_id": "790643256bce7e8c26fbbf1abdb28844c08fdc5b",
      "new_mode": 33188,
      "new_path": "compiler/src/iree/compiler/InputConversion/StableHLO/test/legalize_chlo_no_broadcast.mlir"
    },
    {
      "type": "modify",
      "old_id": "bda5e47eb9b158bce7ccfdbcc4461a0f65da129d",
      "old_mode": 33188,
      "old_path": "compiler/src/iree/compiler/InputConversion/StableHLO/test/legalize_chlo_with_broadcast.mlir",
      "new_id": "1f38502f6261139a863a2428deb98539c239b338",
      "new_mode": 33188,
      "new_path": "compiler/src/iree/compiler/InputConversion/StableHLO/test/legalize_chlo_with_broadcast.mlir"
    }
  ]
}
