)]}'
{
  "commit": "0a561cdbcae0c47f05873cc88b8fb5fd43fe3187",
  "tree": "e308afb166d69c25c7ed8fdf891f03d80165e99b",
  "parents": [
    "45bce4068608f047a4a1c8878828ff7d4f7331a5"
  ],
  "author": {
    "name": "Scott Todd",
    "email": "scotttodd@google.com",
    "time": "Mon Mar 14 09:55:30 2022 -0700"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Mon Mar 14 09:55:30 2022 -0700"
  },
  "message": "Add a suite of tests for WebAssembly compilation. (#8516)\n\nThis adds a new test suite to `iree/test/e2e/xla_ops` that uses IREE\u0027s WebAssembly target via `-iree-hal-target-backends\u003ddylib-llvm-aot -iree-llvm-target-triple\u003dwasm32-unknown-emscripten` (I\u0027d use `llvm` as the target name, but our infra is hardcoded to the dylib name).\r\n\r\nSince we don\u0027t have a native WebAssembly HAL driver yet and the browser WebAssembly use is still experimental (and in no way integrated into our common build/test infra), these new \"tests\" are _just_ `iree_bytecode_module` targets that run at build time. The new tests don\u0027t actually use the check framework for \"e2e\" execution testing. Reusing the existing infra in this hacky way seems easiest to maintain and gives us a nice transition to enabling execution testing once a native Wasm HAL driver is added.\r\n\r\nI\u0027d like to add similar coverage for other in-development compiler configurations (WebGPU) and expand to include more test suites (`test/e2e/tosa_ops/`, [google/iree-samples /tflitehub](https://github.com/google/iree-samples/tree/main/tflitehub), etc.).\r\n\r\n(there was some discussion about how to add this test coverage [on Discord here](https://discord.com/channels/689900678990135345/782059441641881630/951179647691919360))",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "6722ba605e366a52924fdffc1c6e908c69dd24b5",
      "old_mode": 33188,
      "old_path": "build_tools/bazel/iree_bytecode_module.bzl",
      "new_id": "4bd0ef865125c1ae5aa524d4391fb35b19d0ccb2",
      "new_mode": 33188,
      "new_path": "build_tools/bazel/iree_bytecode_module.bzl"
    },
    {
      "type": "modify",
      "old_id": "a72fe41380479a26f69ab601583460aaca3daff6",
      "old_mode": 33188,
      "old_path": "build_tools/bazel/iree_check_test.bzl",
      "new_id": "67832e931317c5895f6ebb67cce5a5f3d5465752",
      "new_mode": 33188,
      "new_path": "build_tools/bazel/iree_check_test.bzl"
    },
    {
      "type": "modify",
      "old_id": "c166e494a2bb1ffc47abed1fc047977f2b0b9f5b",
      "old_mode": 33188,
      "old_path": "build_tools/bazel_to_cmake/bazel_to_cmake_converter.py",
      "new_id": "6de746eb30937d2f591ee4132ccce3ab061e6838",
      "new_mode": 33188,
      "new_path": "build_tools/bazel_to_cmake/bazel_to_cmake_converter.py"
    },
    {
      "type": "modify",
      "old_id": "24d8bbc495f30ac1b17828daac2960d7f214d5c5",
      "old_mode": 33188,
      "old_path": "build_tools/cmake/iree_bytecode_module.cmake",
      "new_id": "4ea25d35686b900099ac032657dbbeb7c4a3fd5b",
      "new_mode": 33188,
      "new_path": "build_tools/cmake/iree_bytecode_module.cmake"
    },
    {
      "type": "modify",
      "old_id": "05d4f4a3e631fbd31915a0b1d221249f2cccb644",
      "old_mode": 33188,
      "old_path": "build_tools/cmake/iree_check_test.cmake",
      "new_id": "8972fa052bd6a8f2a94ed9f9833f30f060e4cd51",
      "new_mode": 33188,
      "new_path": "build_tools/cmake/iree_check_test.cmake"
    },
    {
      "type": "modify",
      "old_id": "20e3b7385d6ab8b1046bc8aa572176c0fb0c6049",
      "old_mode": 33188,
      "old_path": "iree/test/e2e/xla_ops/BUILD",
      "new_id": "616ecb81999dab6f16336c4ab70ff531f80a04f7",
      "new_mode": 33188,
      "new_path": "iree/test/e2e/xla_ops/BUILD"
    },
    {
      "type": "modify",
      "old_id": "05236c9a3f700cd0ca357f2fd3ea5f558c2ddff4",
      "old_mode": 33188,
      "old_path": "iree/test/e2e/xla_ops/CMakeLists.txt",
      "new_id": "d83a006bace7df20881d97514b81242f3c7ebbc3",
      "new_mode": 33188,
      "new_path": "iree/test/e2e/xla_ops/CMakeLists.txt"
    }
  ]
}
