)]}'
{
  "commit": "c0e5813a9b7754690dbae7cd71ce35f21ca9d98c",
  "tree": "21e51a3a265fa7669617549a6f0423d5e69b5a2f",
  "parents": [
    "dd55e592406dc0bae219df11adec6363840aff4a"
  ],
  "author": {
    "name": "Jean-Francois Geyelin",
    "email": "jif@google.com",
    "time": "Mon Apr 24 19:36:25 2023 +0000"
  },
  "committer": {
    "name": "swiftshader-scoped@luci-project-accounts.iam.gserviceaccount.com",
    "email": "swiftshader-scoped@luci-project-accounts.iam.gserviceaccount.com",
    "time": "Mon Apr 24 22:06:29 2023 +0000"
  },
  "message": "[LLVM16] Fix crash when findLSB is called with 0.\n\nWith LLVM 16, dEQP-VK.graphicsfuzz.cov-inc-array-element-loop-lsb\nstarted to crash.\n\nIt appears that Swiftshader was generating a Cttz call\n(https://llvm.org/docs/LangRef.html#llvm-cttz-intrinsic)\nwith \u003cis_zero_poison\u003e set to true, even though the parameter\ncan be zero. This led to undefined behavior.\n\nWith the change in SpirvShaderGLSLstd450.cpp, the test does not\ncrash anymore.\n\nWhile searching for more instances of this bug, the call in\nSpirvShaderGroup.cpp was found.\nThe change in SpirvShaderGroup.cpp is unrelated to the dEQP failure.\n\nb/272710814\n\nChange-Id: I912a770ee808a54a59eca1da45b41636708e80bb\nReviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/71508\nTested-by: Jean-François Geyelin \u003cjif@google.com\u003e\nCommit-Queue: Jean-François Geyelin \u003cjif@google.com\u003e\nKokoro-Result: kokoro \u003cnoreply+kokoro@google.com\u003e\nReviewed-by: Ben Clayton \u003cbclayton@google.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "3a5a6cade5495d5c7781f075f4e7e10a26214df8",
      "old_mode": 33188,
      "old_path": "src/Pipeline/SpirvShaderGLSLstd450.cpp",
      "new_id": "12860669014bbe1d7830b6279bf6fd08f349d7c3",
      "new_mode": 33188,
      "new_path": "src/Pipeline/SpirvShaderGLSLstd450.cpp"
    },
    {
      "type": "modify",
      "old_id": "c06d8a6bb3dd6f21e44011a38a6bf55159de9cc8",
      "old_mode": 33188,
      "old_path": "src/Pipeline/SpirvShaderGroup.cpp",
      "new_id": "a3711a93e9aed42ac470fe0090e17acc25924d04",
      "new_mode": 33188,
      "new_path": "src/Pipeline/SpirvShaderGroup.cpp"
    }
  ]
}
