)]}'
{
  "commit": "89dbac4101afba2a3befd3ef7498eb0fbb1597d8",
  "tree": "a013171ba640d21e5f6814b01bc3e8827746f2c2",
  "parents": [
    "4c8e63e09210e236e9085abbe06aefc36342948e"
  ],
  "author": {
    "name": "Craig Topper",
    "email": "craig.topper@intel.com",
    "time": "Mon Aug 14 18:49:42 2017 +0000"
  },
  "committer": {
    "name": "Copybara-Service",
    "email": "copybara-worker@google.com",
    "time": "Mon Oct 12 19:23:37 2020 -0700"
  },
  "message": "[InstSimplify][InstCombine] Modify the interface of decomposeBitTestICmp and use it in the InstSimplify\n\nThis addresses a fixme in InstSimplify about using decomposeBitTest. This also fixes InstSimplify to handle ugt and ult compares too.\n\nI\u0027ve modified the interface a little to return only the APInt version of the mask that InstSimplify needs. InstCombine now has a small wrapper routine to create a Constant out of it. I\u0027ve also dropped the returning of 0 since InstSimplify doesn\u0027t need that. So InstCombine creates a zero constant itself.\n\nI also had to make decomposeBitTest support vectors since InstSimplify needs that.\n\nAs InstSimplify can\u0027t use something from the Transforms library, I\u0027ve moved the CmpInstAnalysis code to the Analysis library.\n\nDifferential Revision: https://reviews.llvm.org/D36593\n\nllvm-svn: 310869\nGitOrigin-RevId: 2f0b450666db5ce7918f2bab5538652cbb276900\n",
  "tree_diff": [
    {
      "type": "delete",
      "old_id": "5ec3888d4538caf36e830fc05265188560b8daba",
      "old_mode": 33188,
      "old_path": "include/llvm/Transforms/Utils/CmpInstAnalysis.h",
      "new_id": "0000000000000000000000000000000000000000",
      "new_mode": 0,
      "new_path": "/dev/null"
    },
    {
      "type": "modify",
      "old_id": "161709a48466f8868ca34bc2e945343d4b58310e",
      "old_mode": 33188,
      "old_path": "lib/Analysis/CMakeLists.txt",
      "new_id": "45268dd5c7678e4ec764b06ece8608c00a54a9e9",
      "new_mode": 33188,
      "new_path": "lib/Analysis/CMakeLists.txt"
    },
    {
      "type": "modify",
      "old_id": "9729629b1673c725e80af70ff366f6cd6c4a1a82",
      "old_mode": 33188,
      "old_path": "lib/Analysis/InstructionSimplify.cpp",
      "new_id": "d155f6b4803d2df3d72c3b89f06b530d9f3a5c40",
      "new_mode": 33188,
      "new_path": "lib/Analysis/InstructionSimplify.cpp"
    },
    {
      "type": "modify",
      "old_id": "dfc2ea3e4deb1ffa7ab7064e503024c29b1a1418",
      "old_mode": 33188,
      "old_path": "lib/Transforms/InstCombine/InstCombineAndOrXor.cpp",
      "new_id": "dc5b5bfefe6af10a6f28395b101e841101f24e39",
      "new_mode": 33188,
      "new_path": "lib/Transforms/InstCombine/InstCombineAndOrXor.cpp"
    },
    {
      "type": "modify",
      "old_id": "83bc05d0311caebbc841dfe8ac11c4b29152a6b5",
      "old_mode": 33188,
      "old_path": "lib/Transforms/Utils/CMakeLists.txt",
      "new_id": "8561ec78b1cdfe2a4cc27fd9e0729c8224e830bc",
      "new_mode": 33188,
      "new_path": "lib/Transforms/Utils/CMakeLists.txt"
    },
    {
      "type": "delete",
      "old_id": "d9294c49930916b855d2926a8b5053866d4b0156",
      "old_mode": 33188,
      "old_path": "lib/Transforms/Utils/CmpInstAnalysis.cpp",
      "new_id": "0000000000000000000000000000000000000000",
      "new_mode": 0,
      "new_path": "/dev/null"
    },
    {
      "type": "modify",
      "old_id": "e9c94170a941322a63c156dab1d1b81d1e45f48c",
      "old_mode": 33188,
      "old_path": "test/Transforms/InstSimplify/select.ll",
      "new_id": "4134191a3cf9e2d88011db19ca5b252a62834764",
      "new_mode": 33188,
      "new_path": "test/Transforms/InstSimplify/select.ll"
    }
  ]
}
