)]}'
{
  "commit": "07ae19c132e1b0adbdb3cc036b9f50624e2ed1b7",
  "tree": "ae922c2b958da70721f8690ed76ff95db6cc1095",
  "parents": [
    "07286b1fcdecf2aa557ae401946e265c8dab2c68"
  ],
  "author": {
    "name": "Luke Lau",
    "email": "luke@igalia.com",
    "time": "Fri Jul 04 23:02:31 2025 +0100"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Fri Jul 04 23:02:31 2025 +0100"
  },
  "message": "[RISCV] Move performCombineVMergeAndVOps to RISCVVectorPeephole (#144076)\n\nThis moves the peephole that folds vmerges into its operands into\nRISCVVectorPeephole. This will also allow us to eventually commute\ninstructions to allow folding, see #141885 and #70042\n\nMost of the test diffs are due to the slight change in instruction\nordering.\n\nFor now doPeepholeMaskedRVV is kept even though its a duplicate of\nRISCVVectorPeephole::convertToUnmasked to minimize the diff, I plan on\nremoving it in a separate patch as it causes some instructions to be\nshuffled around.\n\nSimilarly, this runs foldVMergeToMask before the other peepholes to\nminimize the diff for now.\n\nrvv-peephole-vmerge-vops-mir.ll was replaced with a dedicated\nvmerge-peephole.mir test.",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "6d9c3569550fbad804c8cba2a0c53a48eb20508f",
      "old_mode": 33188,
      "old_path": "llvm/lib/Target/RISCV/RISCVISelDAGToDAG.cpp",
      "new_id": "6298c7d5e9ef54ece80b5e02a89b09834e2c1115",
      "new_mode": 33188,
      "new_path": "llvm/lib/Target/RISCV/RISCVISelDAGToDAG.cpp"
    },
    {
      "type": "modify",
      "old_id": "65c2220e258222d629de81d02189571e66d1990e",
      "old_mode": 33188,
      "old_path": "llvm/lib/Target/RISCV/RISCVISelDAGToDAG.h",
      "new_id": "66d878f037446f2b5427b45ce5e6545959642087",
      "new_mode": 33188,
      "new_path": "llvm/lib/Target/RISCV/RISCVISelDAGToDAG.h"
    },
    {
      "type": "modify",
      "old_id": "f7acd676461fb3a2a18d520031ade63d01d2914b",
      "old_mode": 33188,
      "old_path": "llvm/lib/Target/RISCV/RISCVVectorPeephole.cpp",
      "new_id": "07907298386c374c6176e7f7923cc69b4c578e3f",
      "new_mode": 33188,
      "new_path": "llvm/lib/Target/RISCV/RISCVVectorPeephole.cpp"
    },
    {
      "type": "modify",
      "old_id": "5dc532273b7709bad8a28de924bee8ce39fe53bc",
      "old_mode": 33188,
      "old_path": "llvm/test/CodeGen/RISCV/rvv/combine-reduce-add-to-vcpop.ll",
      "new_id": "0d8aff306252e8b2f92cce2df337d952adbd4d20",
      "new_mode": 33188,
      "new_path": "llvm/test/CodeGen/RISCV/rvv/combine-reduce-add-to-vcpop.ll"
    },
    {
      "type": "modify",
      "old_id": "564e95c43f68ac28dd0c88d8d294c37b785d7b2b",
      "old_mode": 33188,
      "old_path": "llvm/test/CodeGen/RISCV/rvv/fixed-vectors-fp-buildvec.ll",
      "new_id": "3c3e08d387faaee8e30ca6e8409047b1952cccac",
      "new_mode": 33188,
      "new_path": "llvm/test/CodeGen/RISCV/rvv/fixed-vectors-fp-buildvec.ll"
    },
    {
      "type": "modify",
      "old_id": "f235540cc8ffb42d70879d735ef6854b27f0aa7d",
      "old_mode": 33188,
      "old_path": "llvm/test/CodeGen/RISCV/rvv/fixed-vectors-int-buildvec.ll",
      "new_id": "d9bb007a10f718fa2e505b94889f943ce4fe18c1",
      "new_mode": 33188,
      "new_path": "llvm/test/CodeGen/RISCV/rvv/fixed-vectors-int-buildvec.ll"
    },
    {
      "type": "modify",
      "old_id": "c29ccd45528b81ab9cb355fc07814bec9a580657",
      "old_mode": 33188,
      "old_path": "llvm/test/CodeGen/RISCV/rvv/fixed-vectors-mask-buildvec.ll",
      "new_id": "3bfe41337a1107eb912de451a797a8352a9c4592",
      "new_mode": 33188,
      "new_path": "llvm/test/CodeGen/RISCV/rvv/fixed-vectors-mask-buildvec.ll"
    },
    {
      "type": "modify",
      "old_id": "533b8b6864ebc1bc855e150b5c1820570ad094dd",
      "old_mode": 33188,
      "old_path": "llvm/test/CodeGen/RISCV/rvv/fixed-vectors-masked-gather.ll",
      "new_id": "67d55366674f38078e75b3855e90d18832ad7377",
      "new_mode": 33188,
      "new_path": "llvm/test/CodeGen/RISCV/rvv/fixed-vectors-masked-gather.ll"
    },
    {
      "type": "modify",
      "old_id": "b6267bf481c8502824dbbbc323944328c69e938f",
      "old_mode": 33188,
      "old_path": "llvm/test/CodeGen/RISCV/rvv/fixed-vectors-shuffle-deinterleave2.ll",
      "new_id": "0909c11078ff4f044852de6a8c4ce17a3bda296c",
      "new_mode": 33188,
      "new_path": "llvm/test/CodeGen/RISCV/rvv/fixed-vectors-shuffle-deinterleave2.ll"
    },
    {
      "type": "modify",
      "old_id": "917613d5c786f24ee66918b34955c58e4bd501dd",
      "old_mode": 33188,
      "old_path": "llvm/test/CodeGen/RISCV/rvv/fixed-vectors-shuffle-int-interleave.ll",
      "new_id": "37181569719192e02cd5db1714943d271d169dff",
      "new_mode": 33188,
      "new_path": "llvm/test/CodeGen/RISCV/rvv/fixed-vectors-shuffle-int-interleave.ll"
    },
    {
      "type": "modify",
      "old_id": "8676803e20e3bcc5c982b1745cffd62bd2d7e6e3",
      "old_mode": 33188,
      "old_path": "llvm/test/CodeGen/RISCV/rvv/fixed-vectors-shuffle-int.ll",
      "new_id": "f5216d82c81baf4dd212bc0252fc62507b06696b",
      "new_mode": 33188,
      "new_path": "llvm/test/CodeGen/RISCV/rvv/fixed-vectors-shuffle-int.ll"
    },
    {
      "type": "delete",
      "old_id": "0c058b562f53d05a6acec33d35b746dfbe23e2f6",
      "old_mode": 33188,
      "old_path": "llvm/test/CodeGen/RISCV/rvv/rvv-peephole-vmerge-vops-mir.ll",
      "new_id": "0000000000000000000000000000000000000000",
      "new_mode": 0,
      "new_path": "/dev/null"
    },
    {
      "type": "modify",
      "old_id": "4753ab915bdf353325da0f3b68ca34d5b7fbdb1a",
      "old_mode": 33188,
      "old_path": "llvm/test/CodeGen/RISCV/rvv/vector-deinterleave-fixed.ll",
      "new_id": "5c04a09c9953bdd50217ee22a1bba314b1691b84",
      "new_mode": 33188,
      "new_path": "llvm/test/CodeGen/RISCV/rvv/vector-deinterleave-fixed.ll"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "03204468dc14cd7e1210d1a301bc3dbed5af03ec",
      "new_mode": 33188,
      "new_path": "llvm/test/CodeGen/RISCV/rvv/vmerge-peephole.mir"
    },
    {
      "type": "modify",
      "old_id": "f94e46771f49ceb4aa2c8dbff22bdc136f704006",
      "old_mode": 33188,
      "old_path": "llvm/test/CodeGen/RISCV/rvv/vwadd-sdnode.ll",
      "new_id": "c8b882b92b934d4f7acdf2cb4f4867c02f7096e8",
      "new_mode": 33188,
      "new_path": "llvm/test/CodeGen/RISCV/rvv/vwadd-sdnode.ll"
    }
  ]
}
