)]}'
{
  "commit": "04b7922787aba321ea04423f6080e895de1b7d31",
  "tree": "90553bf1430d4a42a9b2a10e0f2ae6a494efff8a",
  "parents": [
    "76ebae70c534ff779d86910fae61b98642c0da67"
  ],
  "author": {
    "name": "Geoffrey Martin-Noble",
    "email": "gcmn@google.com",
    "time": "Thu Sep 09 15:19:35 2021 -0700"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Thu Sep 09 15:19:35 2021 -0700"
  },
  "message": "Extend linalg_ext lowering to handle signedness and more ops (#6987)\n\nMHLO ops use signed (although written as signless for historical\r\nreasons) and unsigned ops. The upstream MHLO-\u003eLinalg already handles\r\nthis and we need to handle it here as well.\r\n\r\nIn addition, this changes the approach to dealing with detensorizing,\r\nrelying more heavily on the dialect conversion framework type converter.\r\nThis leaves things as unrealized_conversion_cast ops, to be cleaned up\r\nlater after lowering the rest of MHLO. We could continue to use \"real\"\r\nops for [de]tensoring, but we need unrealized_conversion_cast for\r\nsignedness conversions anyway, so I think it\u0027s cleaner to use it\r\neverywhere. It\u0027s perhaps unfortunate because really the correct cast\r\nthere *is* a bitcast, but like all std ops, std.bitcast does not support\r\n[un]signed integers.\r\n\r\nFinally, it adds a bunch of ops for lowering within linalg_ext regions.\r\nWe should be handling everything that lowers to standard naturally, not\r\npicking the handful of ops we\u0027ve run into so far.\r\n\r\nFixes https://github.com/google/iree/issues/6154\r\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "c976b497635e5daf624d619270f1a44f3faa5266",
      "old_mode": 33188,
      "old_path": "iree/compiler/InputConversion/MHLO/ConvertMHLOToLinalgExt.cpp",
      "new_id": "7c8e3e98c312dc3079d757d13cf02893e6027957",
      "new_mode": 33188,
      "new_path": "iree/compiler/InputConversion/MHLO/ConvertMHLOToLinalgExt.cpp"
    },
    {
      "type": "modify",
      "old_id": "38e602e0255e8d90582692b1c52623dee106a247",
      "old_mode": 33188,
      "old_path": "iree/compiler/InputConversion/MHLO/test/convert_mhlo_to_linalg_ext.mlir",
      "new_id": "29383757157532981a62404065db56966a442d5d",
      "new_mode": 33188,
      "new_path": "iree/compiler/InputConversion/MHLO/test/convert_mhlo_to_linalg_ext.mlir"
    }
  ]
}
