)]}'
{
  "commit": "c5e3f46baa22c4db68b6631cbeb1bef7198bb431",
  "tree": "63f50eefd70027b95e627c93218266e0dbc6aa63",
  "parents": [
    "14def8bf096418fd24350ad1405c96223ebff75f"
  ],
  "author": {
    "name": "Scott Todd",
    "email": "scotttodd@google.com",
    "time": "Fri Aug 18 10:53:00 2023 -0700"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Fri Aug 18 17:53:00 2023 +0000"
  },
  "message": "Add copy (cp) command to ir_tool. (#14743)\n\nThis allows for efficient, ergonomic copying of files between MLIR\r\nbytecode and text formats.\r\n\r\nCLI usage from a build directory:\r\n\r\n| | |\r\n| -- | -- |\r\nbytecode to text | `python -m iree.compiler.tools.ir_tool copy\r\ninput.mlirbc -o output.mlir`\r\ntext to bytecode | `python -m iree.compiler.tools.ir_tool copy\r\n--emit-bytecode input.mlir -o output.mlirbc`\r\n\r\nFrom installed packages:\r\n\r\n| | |\r\n| -- | -- |\r\nbytecode to text | `iree-ir-tool copy input.mlirbc -o output.mlir` \r\ntext to bytecode | `iree-ir-tool copy --emit-bytecode input.mlir -o\r\noutput.mlirbc`\r\n\r\nMore context: [this Discord\r\ndiscussion](https://discord.com/channels/689900678990135345/706175572920762449/1141464453003624629),\r\nhttps://github.com/openxla/iree/pull/14636",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "4448c9447e1d4bb4b4a3f6b39a48b51594f3bd3b",
      "old_mode": 33188,
      "old_path": "compiler/bindings/python/iree/compiler/tools/ir_tool/__main__.py",
      "new_id": "6d522135f4fb6ac1b9f944a02decc9be4ac71a0b",
      "new_mode": 33188,
      "new_path": "compiler/bindings/python/iree/compiler/tools/ir_tool/__main__.py"
    },
    {
      "type": "modify",
      "old_id": "2a7a538ffb14a938ab51497b7c9c7e5a9e0930a5",
      "old_mode": 33188,
      "old_path": "compiler/bindings/python/test/tools/ir_tool_test.py",
      "new_id": "74f6c76b7475e2cc0f5d477b3289b4668ae8e2ef",
      "new_mode": 33188,
      "new_path": "compiler/bindings/python/test/tools/ir_tool_test.py"
    }
  ]
}
