)]}'
{
  "commit": "ed32801d29a3d9a4855165df6e95175615662e14",
  "tree": "2e6b6322dcedfc13ca420c46f00f2535bb4372f5",
  "parents": [
    "3e2ae27c1d9a4b67bd80c55330882831cf4da3b8"
  ],
  "author": {
    "name": "bjacob",
    "email": "benoitjacob@google.com",
    "time": "Wed Nov 08 16:40:12 2023 -0500"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Wed Nov 08 16:40:12 2023 -0500"
  },
  "message": "Resolve `host` CPU to `generic` outside of x86 (#15481)\n\nFollowing https://github.com/openxla/iree/pull/15477, `cpu` is treated\r\nas a x86-only thing, except for the special value `host` that gets\r\nresolved to the actual host CPU and CPU features.\r\n\r\nJitGlobals creates a host target, that gets resolved accordingly. The\r\nresolved CPU is then recorded in a `hal.devices.targets` attribute. If\r\nthe CPU field is set to the actual host CPU identifier there, then that\r\nwill trigger the error message about that being a x86-only thing:\r\n\r\n```\r\nerror: Resolution of target CPU to target CPU features is not implemented on this target architecture. Pass explicit CPU features instead of a CPU on this architecture, or implement that.\r\n```\r\n\r\nSo this needs to be left empty in that case. No functional\r\ndifference, as that CPU is just ignored anyway (which is what the error\r\nmessage is about).",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "7e0179925ed181f6866bf809e761688bb961f6c0",
      "old_mode": 33188,
      "old_path": "compiler/src/iree/compiler/Dialect/HAL/Target/LLVMCPU/LLVMTargetOptions.cpp",
      "new_id": "d795ec99ebffce2e6d68d1aa5e0968c4552fa22d",
      "new_mode": 33188,
      "new_path": "compiler/src/iree/compiler/Dialect/HAL/Target/LLVMCPU/LLVMTargetOptions.cpp"
    }
  ]
}
