)]}'
{
  "commit": "c81c543fe3771fda543b563d494770d8668718b0",
  "tree": "5230c05b2155db7092aacab771ae195df67e9272",
  "parents": [
    "00f57d5b852bf673e954575781ca4a6fb5711667"
  ],
  "author": {
    "name": "bjacob",
    "email": "benoitjacob@google.com",
    "time": "Tue Feb 14 07:36:23 2023 -0500"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Tue Feb 14 07:36:23 2023 -0500"
  },
  "message": "fix null deref in `tileAndFuseDispatchUsingSCFForOp` (#12189)\n\nThis fixes a crash (null dereference) hit when generating a match\r\nfailure in this function, when the op does not implement\r\n`TilingInterface`.\r\n\r\nTestcase provided by @lundong :\r\n\r\nReproduction command line:\r\n\r\n```\r\ntools/iree-compile --iree-input-type\u003dtosa --iree-hal-target-backends\u003dvmvx --iree-vmvx-enable-microkernels --iree-flow-enable-data-tiling /tmp/conv1x1_test.mlir\r\n```\r\n\r\nInput file:\r\n\r\n```\r\nmodule {\r\n  func.func @main(%arg0: tensor\u003c1x112x112x8xi8\u003e) -\u003e tensor\u003c1x112x112x16xi8\u003e {\r\n    %0 \u003d \"tosa.const\"() {value \u003d dense\u003c[-918, -4433, 87, -234, -21393, 7738, 529, -8835, -16817, -375, -199, 572, 5082, 15569, -186, 4955]\u003e : tensor\u003c16xi32\u003e} : () -\u003e tensor\u003c16xi32\u003e\r\n    %1 \u003d \"tosa.const\"() {value \u003d dense\u003c\"0xE2E2E2E2E2EBF6E206E2E2E8EBE6DEE2E0E2E2FDDCE7E1E2E2E2E2FDDFE6E0E3EBE2E2DCEFAC213DE2E2E2E3E2D3C9E4E2E2E2E2E3E1E1FA3EE2E2E9E9E5E3E47FE2E2E4EDE2E2E3E0E2E2E4DFE9DCFEE3E2E2E2E2E2E2E2F9E2E2E6EBEADCE4E2E2E2CEE5E1E0E181E2E2D9D3DEE1DDE2E2E2E2E2E2E2E2C5E2E2E2DBE1E3E1\"\u003e : tensor\u003c16x1x1x8xi8\u003e} : () -\u003e tensor\u003c16x1x1x8xi8\u003e\r\n    %2 \u003d \"tosa.conv2d\"(%arg0, %1, %0) {dilation \u003d array\u003ci64: 1, 1\u003e, pad \u003d array\u003ci64: 0, 0, 0, 0\u003e, quantization_info \u003d #tosa.conv_quant\u003cinput_zp \u003d -128, weight_zp \u003d -30\u003e, stride \u003d array\u003ci64: 1, 1\u003e} : (tensor\u003c1x112x112x8xi8\u003e, tensor\u003c16x1x1x8xi8\u003e, tensor\u003c16xi32\u003e) -\u003e tensor\u003c1x112x112x16xi32\u003e\r\n    %3 \u003d \"tosa.rescale\"(%2) {double_round \u003d true, input_zp \u003d 0 : i32, multiplier \u003d array\u003ci32: 1364139008\u003e, output_zp \u003d -128 : i32, per_channel \u003d false, scale32 \u003d true, shift \u003d array\u003ci32: 35\u003e} : (tensor\u003c1x112x112x16xi32\u003e) -\u003e tensor\u003c1x112x112x16xi8\u003e\r\n    return %3 : tensor\u003c1x112x112x16xi8\u003e\r\n  }\r\n}\r\n```",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "7a4b5f192286a07b0361a88413602af9ac7fca54",
      "old_mode": 33188,
      "old_path": "compiler/src/iree/compiler/Codegen/Common/TileDispatchUsingInterface.cpp",
      "new_id": "04e7b5e84f11889cbac7e151d110ca45dd58934f",
      "new_mode": 33188,
      "new_path": "compiler/src/iree/compiler/Codegen/Common/TileDispatchUsingInterface.cpp"
    }
  ]
}
