{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/DirectXShaderCompiler/issues/1750","repository_url":"https://api.github.com/repos/Microsoft/DirectXShaderCompiler","labels_url":"https://api.github.com/repos/Microsoft/DirectXShaderCompiler/issues/1750/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/DirectXShaderCompiler/issues/1750/comments","events_url":"https://api.github.com/repos/Microsoft/DirectXShaderCompiler/issues/1750/events","html_url":"https://github.com/Microsoft/DirectXShaderCompiler/pull/1750","id":385914892,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM0Nzc3MjA0","number":1750,"title":"Fix SROA bug when lowering a memcpy whose source is a cbuffer","user":{"login":"MrTrillian","id":2314287,"node_id":"MDQ6VXNlcjIzMTQyODc=","avatar_url":"https://avatars0.githubusercontent.com/u/2314287?v=4","gravatar_id":"","url":"https://api.github.com/users/MrTrillian","html_url":"https://github.com/MrTrillian","followers_url":"https://api.github.com/users/MrTrillian/followers","following_url":"https://api.github.com/users/MrTrillian/following{/other_user}","gists_url":"https://api.github.com/users/MrTrillian/gists{/gist_id}","starred_url":"https://api.github.com/users/MrTrillian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MrTrillian/subscriptions","organizations_url":"https://api.github.com/users/MrTrillian/orgs","repos_url":"https://api.github.com/users/MrTrillian/repos","events_url":"https://api.github.com/users/MrTrillian/events{/privacy}","received_events_url":"https://api.github.com/users/MrTrillian/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"MrTrillian","id":2314287,"node_id":"MDQ6VXNlcjIzMTQyODc=","avatar_url":"https://avatars0.githubusercontent.com/u/2314287?v=4","gravatar_id":"","url":"https://api.github.com/users/MrTrillian","html_url":"https://github.com/MrTrillian","followers_url":"https://api.github.com/users/MrTrillian/followers","following_url":"https://api.github.com/users/MrTrillian/following{/other_user}","gists_url":"https://api.github.com/users/MrTrillian/gists{/gist_id}","starred_url":"https://api.github.com/users/MrTrillian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MrTrillian/subscriptions","organizations_url":"https://api.github.com/users/MrTrillian/orgs","repos_url":"https://api.github.com/users/MrTrillian/repos","events_url":"https://api.github.com/users/MrTrillian/events{/privacy}","received_events_url":"https://api.github.com/users/MrTrillian/received_events","type":"User","site_admin":false},"assignees":[{"login":"MrTrillian","id":2314287,"node_id":"MDQ6VXNlcjIzMTQyODc=","avatar_url":"https://avatars0.githubusercontent.com/u/2314287?v=4","gravatar_id":"","url":"https://api.github.com/users/MrTrillian","html_url":"https://github.com/MrTrillian","followers_url":"https://api.github.com/users/MrTrillian/followers","following_url":"https://api.github.com/users/MrTrillian/following{/other_user}","gists_url":"https://api.github.com/users/MrTrillian/gists{/gist_id}","starred_url":"https://api.github.com/users/MrTrillian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MrTrillian/subscriptions","organizations_url":"https://api.github.com/users/MrTrillian/orgs","repos_url":"https://api.github.com/users/MrTrillian/repos","events_url":"https://api.github.com/users/MrTrillian/events{/privacy}","received_events_url":"https://api.github.com/users/MrTrillian/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2018-11-29T20:34:21Z","updated_at":"2018-12-03T17:38:49Z","closed_at":null,"author_association":"MEMBER","pull_request":{"url":"https://api.github.com/repos/Microsoft/DirectXShaderCompiler/pulls/1750","html_url":"https://github.com/Microsoft/DirectXShaderCompiler/pull/1750","diff_url":"https://github.com/Microsoft/DirectXShaderCompiler/pull/1750.diff","patch_url":"https://github.com/Microsoft/DirectXShaderCompiler/pull/1750.patch"},"body":"There was already code to detect `memcpy` with `cbuffer` sources, but they only accounted for one level of GEP indirection. In the presence of complex nested structs and arrays, this might not be the case, so I extended it to support arbitrary GEP nesting.\r\n\r\nFixes #1737 "},"comment":{"url":"https://api.github.com/repos/Microsoft/DirectXShaderCompiler/issues/comments/443798933","html_url":"https://github.com/Microsoft/DirectXShaderCompiler/pull/1750#issuecomment-443798933","issue_url":"https://api.github.com/repos/Microsoft/DirectXShaderCompiler/issues/1750","id":443798933,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0Mzc5ODkzMw==","user":{"login":"MrTrillian","id":2314287,"node_id":"MDQ6VXNlcjIzMTQyODc=","avatar_url":"https://avatars0.githubusercontent.com/u/2314287?v=4","gravatar_id":"","url":"https://api.github.com/users/MrTrillian","html_url":"https://github.com/MrTrillian","followers_url":"https://api.github.com/users/MrTrillian/followers","following_url":"https://api.github.com/users/MrTrillian/following{/other_user}","gists_url":"https://api.github.com/users/MrTrillian/gists{/gist_id}","starred_url":"https://api.github.com/users/MrTrillian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MrTrillian/subscriptions","organizations_url":"https://api.github.com/users/MrTrillian/orgs","repos_url":"https://api.github.com/users/MrTrillian/repos","events_url":"https://api.github.com/users/MrTrillian/events{/privacy}","received_events_url":"https://api.github.com/users/MrTrillian/received_events","type":"User","site_admin":false},"created_at":"2018-12-03T17:38:49Z","updated_at":"2018-12-03T17:38:49Z","author_association":"MEMBER","body":"@python3kgae ping, this is a pretty trivial fix!"}}
{"actor":{"display_login":"MrTrillian"}}