)]}'
{
  "commit": "19b53acdf5c15358a4b659ef1b55e5c5b0740e90",
  "tree": "924c974714af0dcfeedc97c5969d9e9ef35f1d01",
  "parents": [
    "ee738ac1f838a090cac74ba8981e2104b6c02d44"
  ],
  "author": {
    "name": "Bruce He",
    "email": "hebruce@google.com",
    "time": "Wed May 17 21:06:25 2023"
  },
  "committer": {
    "name": "Bruce He",
    "email": "hebruce@google.com",
    "time": "Wed May 17 21:06:25 2023"
  },
  "message": "Look at local sets with casts in OptimizeCasts.\n\nFor instance, the below\n(local.set $a (ref.cast .. (local.get $ref)))\n(local.get $a)\n\nCan be converted to\n(local.set $a (local.tee $temp (ref.cast .. (local.get $ref))))\n(local.get $temp)\n\nCurrently, this change only applies the optimization if the\nimmediate child of the local.set is a cast and cannot look through\nother operations. This is added as a TODO.\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "854110157721056e53faf355def400ab008a5241",
      "old_mode": 33188,
      "old_path": "src/passes/OptimizeCasts.cpp",
      "new_id": "b7970cc7b9f3cc7c3eacb4a9ee6301a3c24c9346",
      "new_mode": 33188,
      "new_path": "src/passes/OptimizeCasts.cpp"
    },
    {
      "type": "modify",
      "old_id": "27e38f7f57b60c85ddbfcdff0eb989825930e298",
      "old_mode": 33188,
      "old_path": "test/lit/passes/optimize-casts.wast",
      "new_id": "26163e866455c40847ee0e77469251c72cc92fd7",
      "new_mode": 33188,
      "new_path": "test/lit/passes/optimize-casts.wast"
    }
  ]
}
