)]}'
{
  "commit": "bd40d1de9c9ee65ef1264a36cee002f92c8d689b",
  "tree": "96b3dbc88c080a51d6d7242386e6e88355e55a33",
  "parents": [
    "5f644d966e1ae02e06ea85cf693d80587149932f"
  ],
  "author": {
    "name": "Florian Hahn",
    "email": "flo@fhahn.com",
    "time": "Fri Feb 06 21:14:33 2026 +0000"
  },
  "committer": {
    "name": "Florian Hahn",
    "email": "flo@fhahn.com",
    "time": "Fri Feb 06 21:14:41 2026 +0000"
  },
  "message": "Reapply \"[SCEVExp] Use SCEVPtrToAddr in tryToReuseLCSSAPhi if possible. (#180257)\"\n\nThis reverts commit cb905605b2e95f88296afe136b21a7d2476cb058.\n\nRecommit the patch with a small change to check the destination\ntype matches the address type, to avoid a crash on mismatch.\n\nOriginal message:\n\nThis patch updates tryToReuseLCSSAPhi to use SCEVPtrToAddr, unless using\nSCEVPtrToInt allows re-use, because the IR already contains a re-usable\nphi using PtrToInt.\n\nThis is a first step towards migrating to SCEVPtrToAddr and avoids\nregressions in follow-up changes.\n\nPR: https://github.com/llvm/llvm-project/pull/178727\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "f285eacc4c565ee29c5b714fcf140cb64ac64989",
      "old_mode": 33188,
      "old_path": "llvm/include/llvm/Analysis/ScalarEvolutionPatternMatch.h",
      "new_id": "7b00d0109a68cc311a90c1e1d4615f55c2f5de0b",
      "new_mode": 33188,
      "new_path": "llvm/include/llvm/Analysis/ScalarEvolutionPatternMatch.h"
    },
    {
      "type": "modify",
      "old_id": "cccb944618e07980dece2a657c0dc4eeceaae3d2",
      "old_mode": 33188,
      "old_path": "llvm/lib/Transforms/Utils/ScalarEvolutionExpander.cpp",
      "new_id": "84562ecfcffe8031b2e05983aece3b17e888f529",
      "new_mode": 33188,
      "new_path": "llvm/lib/Transforms/Utils/ScalarEvolutionExpander.cpp"
    },
    {
      "type": "modify",
      "old_id": "a15db620e00820e88c14acb66faa9daab392efca",
      "old_mode": 33188,
      "old_path": "llvm/test/Transforms/LoopIdiom/reuse-lcssa-phi-scev-expansion.ll",
      "new_id": "d0e70c21c7bc6b4a10a41d4b1cabcf0ae2516c1c",
      "new_mode": 33188,
      "new_path": "llvm/test/Transforms/LoopIdiom/reuse-lcssa-phi-scev-expansion.ll"
    },
    {
      "type": "modify",
      "old_id": "557c7e570766cf50990e91558052f43ec7ba1d83",
      "old_mode": 33188,
      "old_path": "llvm/test/Transforms/LoopVectorize/reuse-lcssa-phi-scev-expansion.ll",
      "new_id": "0b1c3165fe13abc4ebc7f673d1a177ba2d203bc3",
      "new_mode": 33188,
      "new_path": "llvm/test/Transforms/LoopVectorize/reuse-lcssa-phi-scev-expansion.ll"
    }
  ]
}
