)]}'
{
  "commit": "144736b07e03f27888860f6ad7aa13a77f7c9731",
  "tree": "e40742059a41260a2b085c0c60c15ffd2563d626",
  "parents": [
    "c24c23d9ab66e9a1bf6bb3468cdfe39f22872362"
  ],
  "author": {
    "name": "Luke Lau",
    "email": "luke@igalia.com",
    "time": "Tue Aug 19 12:10:53 2025 +0800"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Tue Aug 19 04:10:53 2025 +0000"
  },
  "message": "[VPlan] Don\u0027t fold live ins with both scalar and vector operands (#154067)\n\nIf we end up with a extract_element VPInstruction where both operands\nare live-ins, we will try to fold the live-ins even though the first\noperand is a vector whilst the live-in is scalar.\n\nThis fixes it by just returning the vector live-in instead of calling\nthe folder, and removes the handling for insertelement where we aren\u0027t\nable to do the fold. From some quick testing we previously never hit\nthis fold anyway, and were probably just missing test coverage.\n\nFixes #154045",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "81088c9a81392c556ebe36674d8cbfce855b7ea9",
      "old_mode": 33188,
      "old_path": "llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp",
      "new_id": "45d9ee1753c3a92db2b4f66ce11d2cce6079be5c",
      "new_mode": 33188,
      "new_path": "llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "39baa27c8a4fffead45d13b768c77b1824d65422",
      "new_mode": 33188,
      "new_path": "llvm/test/Transforms/LoopVectorize/pr154045-dont-fold-extractelement-livein.ll"
    }
  ]
}
