)]}'
{
  "commit": "ecf372f993fa0f1ae417a3159e5c397f36c2d48c",
  "tree": "5e5b5c0af06b1aec6b8f5c082c7f826a1e51ca72",
  "parents": [
    "aef6d4610fabf2b4c2f9e2fcfab24fce6f59cc86"
  ],
  "author": {
    "name": "Michael Maitland",
    "email": "michaeltmaitland@gmail.com",
    "time": "Wed Jul 05 10:04:06 2023 -0700"
  },
  "committer": {
    "name": "Michael Maitland",
    "email": "michaeltmaitland@gmail.com",
    "time": "Thu Jul 06 15:12:08 2023 -0700"
  },
  "message": "[llvm-mca][RISCV] vsetivli and vsetvli act as instruments\n\nSince the LMUL data that is needed to create an instrument is\navaliable statically from vsetivli and vsetvli instructions,\nLMUL instruments can be automatically generated so that clients\nof the tool do no need to manually insert instrument comments.\n\nInstrument comments may be placed after a vset{i}vli instruction,\nwhich will override instrument that was automatically inserted.\nAs a result, clients of llvm-mca instruments do not need to update\ntheir existing instrument comments. However, if the instrument\nhas the same LMUL as the vset{i}vli, then it is reccomended to\nremove the instrument comment as it becomes redundant.\n\nDifferential Revision: https://reviews.llvm.org/D154526\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "348f2e869e20ce625f6c1ccab53f980d10431eb5",
      "old_mode": 33188,
      "old_path": "llvm/include/llvm/MCA/CustomBehaviour.h",
      "new_id": "b3774894517ab45a7042162983aa75c8aba611c5",
      "new_mode": 33188,
      "new_path": "llvm/include/llvm/MCA/CustomBehaviour.h"
    },
    {
      "type": "modify",
      "old_id": "a690850bc5ba3c28b70addfd90f2288a385be57f",
      "old_mode": 33188,
      "old_path": "llvm/lib/MCA/CustomBehaviour.cpp",
      "new_id": "1aa266e0a1e43bf1b1b0e952d3fb492a5b75f9d0",
      "new_mode": 33188,
      "new_path": "llvm/lib/MCA/CustomBehaviour.cpp"
    },
    {
      "type": "modify",
      "old_id": "00ffde0925b3678b810b0e9603c3b9c5dcb6d747",
      "old_mode": 33188,
      "old_path": "llvm/lib/Target/RISCV/MCA/RISCVCustomBehaviour.cpp",
      "new_id": "9f152710318db5a8dd5510e1bc70238807ebf914",
      "new_mode": 33188,
      "new_path": "llvm/lib/Target/RISCV/MCA/RISCVCustomBehaviour.cpp"
    },
    {
      "type": "modify",
      "old_id": "7ce072b3840ce1c5ce8c219cd7ac8750a88d025b",
      "old_mode": 33188,
      "old_path": "llvm/lib/Target/RISCV/MCA/RISCVCustomBehaviour.h",
      "new_id": "8e4c00b35dc39dde66c3857a39637cd56af6c422",
      "new_mode": 33188,
      "new_path": "llvm/lib/Target/RISCV/MCA/RISCVCustomBehaviour.h"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "c976d8ba4c9f5f57f6d00ffd4a6e04d19d794655",
      "new_mode": 33188,
      "new_path": "llvm/test/tools/llvm-mca/RISCV/no-vsetvli-to-start.s"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "9c958f5a4939bf299bdcfc386c4362195bd24250",
      "new_mode": 33188,
      "new_path": "llvm/test/tools/llvm-mca/RISCV/vsetivli-lmul-instrument.s"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "8beefd39cf844e065f38b56d473a9ea4ab840038",
      "new_mode": 33188,
      "new_path": "llvm/test/tools/llvm-mca/RISCV/vsetvli-lmul-instrument.s"
    },
    {
      "type": "modify",
      "old_id": "61ee40bacba06d5b974aec4c0f78093da2d18bb5",
      "old_mode": 33188,
      "old_path": "llvm/tools/llvm-mca/CodeRegion.h",
      "new_id": "ce107fd8f3b62ed1789b6cda52beea3a004970eb",
      "new_mode": 33188,
      "new_path": "llvm/tools/llvm-mca/CodeRegion.h"
    },
    {
      "type": "modify",
      "old_id": "8321cfb5ad77c4a7c3c3d9d68c172129c59e0498",
      "old_mode": 33188,
      "old_path": "llvm/tools/llvm-mca/CodeRegionGenerator.cpp",
      "new_id": "5241b584b74661ebfebbbe6f2a4241107bf350b3",
      "new_mode": 33188,
      "new_path": "llvm/tools/llvm-mca/CodeRegionGenerator.cpp"
    },
    {
      "type": "modify",
      "old_id": "d1b995d772ca83b4c25c7d57cc85c306f20816a1",
      "old_mode": 33188,
      "old_path": "llvm/tools/llvm-mca/CodeRegionGenerator.h",
      "new_id": "68da567f3e0f321fe2fb8055137c01a1a617494c",
      "new_mode": 33188,
      "new_path": "llvm/tools/llvm-mca/CodeRegionGenerator.h"
    }
  ]
}
