)]}'
{
  "commit": "a1d37a9bb27e69cc797d2e6d49f9c63d9ea3808a",
  "tree": "9962ce39f0768d6c1dd7b239060a3c18eaa5faa3",
  "parents": [
    "0147515fd20c86ee59e5b7be03f0e81f7e51f833"
  ],
  "author": {
    "name": "Cherry Zhang",
    "email": "cherryyz@google.com",
    "time": "Sun Sep 02 21:46:35 2018 -0400"
  },
  "committer": {
    "name": "Cherry Zhang",
    "email": "cherryyz@google.com",
    "time": "Sat Oct 27 17:20:17 2018 +0000"
  },
  "message": "bridge: attach metadata to address-taken allocas to help liveness analysis\n\nThe liveness of address-taken allocas and non-address-taken\nallocas are different. To help the liveness analysis here we\nattach some metadata to allocas if the frontend tells us it is\naddress-taken.\n\nThe backend could inspect the IR to see if an alloca\u0027s address\nis taken. But this is sometimes too conservative. For example,\ncertain functions take the address just to read or write (e.g.\nthe equality function of an aggregate type). The frontend does\nnot mark the variable address-taken in this case. And it is safe\nfor the liveness to treat it as non-address-taken.\n\nChange the local variables in the unit tests to be non-address-\ntaken, so we don\u0027t need to add the metadata to the expected\noutputs. Even if the variable\u0027s address is actually taken, it\ndoesn\u0027t really matter, as the address-taken information is only\nused for stack map generation, which does not run in these unit\ntests.\n\nChange-Id: Ia25326c72c0e9571f9072ccfdd26f25468a3fbd4\nReviewed-on: https://go-review.googlesource.com/c/137759\nReviewed-by: Than McIntosh \u003cthanm@google.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "cd94a99ed7426c95caa5c5408a2bf7391e102b59",
      "old_mode": 33188,
      "old_path": "bridge/go-llvm-bfunction.cpp",
      "new_id": "7382331ab06479a5688b8ba7e7580c2d284c6e86",
      "new_mode": 33188,
      "new_path": "bridge/go-llvm-bfunction.cpp"
    },
    {
      "type": "modify",
      "old_id": "02485d15e4c9c6fbb5298e6d89aa02be1daba4e0",
      "old_mode": 33188,
      "old_path": "unittests/BackendCore/TestUtils.cpp",
      "new_id": "2699203018c98fa333aa9c098ea5a0b167acc9fb",
      "new_mode": 33188,
      "new_path": "unittests/BackendCore/TestUtils.cpp"
    }
  ]
}
