)]}'
{
  "commit": "cf9c4207d72cf95b337386e04a99c023e1ebb204",
  "tree": "515e525c1e88c768fa150328eb3e1345072bef91",
  "parents": [
    "c4622b0d08232a51f5c78d25a4ed0c60ef94c97a"
  ],
  "author": {
    "name": "Lei Zhang",
    "email": "antiagainst@google.com",
    "time": "Wed Mar 08 13:05:15 2023 -0500"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Wed Mar 08 10:05:15 2023 -0800"
  },
  "message": "[spirv] Make confugration deduction return state consistent  (#12561)\n\nWe have some kernel confugration deduction function (e.g., for\r\nreduction) returning `failure()` on failing to find a configuration, and\r\nthe rest returning `success()`. This is inconsistent and confusing.\r\n\r\nAdditionally, for the latter we rely on `getLoweringConfig()` as a\r\nseparate call to check whether a configuration is indeed set. This won\u0027t\r\nactually work anymore with transform dialect, where we will embed the\r\nconfiguration in the schedule.\r\n\r\nSo this commit switches all into returning `failure()` meaning unable to\r\nfind a configuration.\r\n\r\nThis is a preliminary step towards enabling transform dialect in SPIR-V\r\nCodeGen.",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "4346284d2cf6af406c5ecf8fd30c22eb1a57bdfb",
      "old_mode": 33188,
      "old_path": "compiler/src/iree/compiler/Codegen/SPIRV/AMDConfig.cpp",
      "new_id": "ba6fe02aeeb9708202b7e679e5c477f062a637d8",
      "new_mode": 33188,
      "new_path": "compiler/src/iree/compiler/Codegen/SPIRV/AMDConfig.cpp"
    },
    {
      "type": "modify",
      "old_id": "afc293be41c2a112c84dac32d905befdabd98b6a",
      "old_mode": 33188,
      "old_path": "compiler/src/iree/compiler/Codegen/SPIRV/AdrenoConfig.cpp",
      "new_id": "81967b498f42efb121c346e0a2c49830907b73b1",
      "new_mode": 33188,
      "new_path": "compiler/src/iree/compiler/Codegen/SPIRV/AdrenoConfig.cpp"
    },
    {
      "type": "modify",
      "old_id": "f3943ee816d21e44d3cb33082717aea1abf5b02c",
      "old_mode": 33188,
      "old_path": "compiler/src/iree/compiler/Codegen/SPIRV/AppleConfig.cpp",
      "new_id": "2a0fe4013880e67a62b50d19065e78706c8e844d",
      "new_mode": 33188,
      "new_path": "compiler/src/iree/compiler/Codegen/SPIRV/AppleConfig.cpp"
    },
    {
      "type": "modify",
      "old_id": "0dc9aae8ba09f8bc0be8de385e55b30c84cfd0d7",
      "old_mode": 33188,
      "old_path": "compiler/src/iree/compiler/Codegen/SPIRV/KernelConfig.cpp",
      "new_id": "d38107cb206fa9d89a4c7339f15175fa3596e197",
      "new_mode": 33188,
      "new_path": "compiler/src/iree/compiler/Codegen/SPIRV/KernelConfig.cpp"
    },
    {
      "type": "modify",
      "old_id": "5992708d9dc18e1b964b85f84fc817cf1e1aec3b",
      "old_mode": 33188,
      "old_path": "compiler/src/iree/compiler/Codegen/SPIRV/KernelConfig.h",
      "new_id": "956b18b4ba6efdd2067a60c97a720b62980cd54c",
      "new_mode": 33188,
      "new_path": "compiler/src/iree/compiler/Codegen/SPIRV/KernelConfig.h"
    },
    {
      "type": "modify",
      "old_id": "eb8839378e3012f68e71185553d746b37b4964e4",
      "old_mode": 33188,
      "old_path": "compiler/src/iree/compiler/Codegen/SPIRV/MaliConfig.cpp",
      "new_id": "d3ad6430fd18edefcd18302ce0bd6382f838a3cb",
      "new_mode": 33188,
      "new_path": "compiler/src/iree/compiler/Codegen/SPIRV/MaliConfig.cpp"
    },
    {
      "type": "modify",
      "old_id": "39eb3ee5578ddf5ac222aaf50339996c27809ee4",
      "old_mode": 33188,
      "old_path": "compiler/src/iree/compiler/Codegen/SPIRV/NVIDIAConfig.cpp",
      "new_id": "5c58fe68d13f0d1725cc852793fdfb25d575c901",
      "new_mode": 33188,
      "new_path": "compiler/src/iree/compiler/Codegen/SPIRV/NVIDIAConfig.cpp"
    }
  ]
}
