)]}'
{
  "commit": "d03f30fb522eda7dedd15fd83ba1077d14826e0f",
  "tree": "2f0305c902a224595c9995320340739c45f0597a",
  "parents": [
    "dff6aee94597fda742c41390b1890a5434215dec"
  ],
  "author": {
    "name": "Artem Gindinson",
    "email": "gindinson@roofline.ai",
    "time": "Mon May 26 13:52:19 2025 +0200"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Mon May 26 12:52:19 2025 +0100"
  },
  "message": "[mlir][TOSA] restore unrealized casts when lowering rescale ops (#141096)\n\nAlong with the changes to rescale op attributes, commit 7208649 dropped\nthe builtin casts between signed and signless types. However, explicitly\nunsigned types are still legal input and output values from the TOSA IR\nperspective.\n\nThe change adds back the casts when the unsigned\u003c-\u003esignless semantics\nare explicit in the underlying tensor types. This prevents the\nconversion routine from trying to generate illegal `arith` casts that\nare constrained to signless types. Whether the `arith` casts themselves\nare signed or unsigned should still depend on the rescale\u0027s `*_unsigned`\nattribute values.\n\n---------\n\nSigned-off-by: Artem Gindinson \u003cgindinson@roofline.ai\u003e",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "0b69cd2814fb9322c26287f23b6d74647d3427df",
      "old_mode": 33188,
      "old_path": "mlir/lib/Conversion/TosaToLinalg/TosaToLinalg.cpp",
      "new_id": "6d73f23e2aae1c0ca47ec800f5f99af8b996891b",
      "new_mode": 33188,
      "new_path": "mlir/lib/Conversion/TosaToLinalg/TosaToLinalg.cpp"
    },
    {
      "type": "modify",
      "old_id": "185f1973ecdc63c59dad11e2fe0d5f05d7c8fb6f",
      "old_mode": 33188,
      "old_path": "mlir/test/Conversion/TosaToLinalg/tosa-to-linalg.mlir",
      "new_id": "fb912e49ff920bd940187fce23f29c94aaa28a75",
      "new_mode": 33188,
      "new_path": "mlir/test/Conversion/TosaToLinalg/tosa-to-linalg.mlir"
    }
  ]
}
