{"action":"created","issue":{"url":"https://api.github.com/repos/KhronosGroup/SPIRV-Tools/issues/651","repository_url":"https://api.github.com/repos/KhronosGroup/SPIRV-Tools","labels_url":"https://api.github.com/repos/KhronosGroup/SPIRV-Tools/issues/651/labels{/name}","comments_url":"https://api.github.com/repos/KhronosGroup/SPIRV-Tools/issues/651/comments","events_url":"https://api.github.com/repos/KhronosGroup/SPIRV-Tools/issues/651/events","html_url":"https://github.com/KhronosGroup/SPIRV-Tools/pull/651","id":228798869,"number":651,"title":"Add Local Access Chain Convert pass","user":{"login":"greg-lunarg","id":7535275,"avatar_url":"https://avatars3.githubusercontent.com/u/7535275?v=3","gravatar_id":"","url":"https://api.github.com/users/greg-lunarg","html_url":"https://github.com/greg-lunarg","followers_url":"https://api.github.com/users/greg-lunarg/followers","following_url":"https://api.github.com/users/greg-lunarg/following{/other_user}","gists_url":"https://api.github.com/users/greg-lunarg/gists{/gist_id}","starred_url":"https://api.github.com/users/greg-lunarg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/greg-lunarg/subscriptions","organizations_url":"https://api.github.com/users/greg-lunarg/orgs","repos_url":"https://api.github.com/users/greg-lunarg/repos","events_url":"https://api.github.com/users/greg-lunarg/events{/privacy}","received_events_url":"https://api.github.com/users/greg-lunarg/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2017-05-15T18:13:48Z","updated_at":"2017-06-04T16:53:11Z","closed_at":"2017-06-04T16:53:11Z","pull_request":{"url":"https://api.github.com/repos/KhronosGroup/SPIRV-Tools/pulls/651","html_url":"https://github.com/KhronosGroup/SPIRV-Tools/pull/651","diff_url":"https://github.com/KhronosGroup/SPIRV-Tools/pull/651.diff","patch_url":"https://github.com/KhronosGroup/SPIRV-Tools/pull/651.patch"},"body":"This pass is the next in a series of passes designed to reduce the size of SPIR-V files.\r\n\r\nThis pass targets function scope variables of math type (scalar, vector, matrix) or structs or arrays of math type. It further focuses on variables which are accessed only with loads, stores, and access chains with constant indices. It then converts all loads and stores of such  variables into equivalent sequences of loads, stores, extracts and inserts. This unifies access to these variables to a single mode, simplifying subsequent analysis and elimination of these variables along with loads and stores and allowing values to propagate further for better subsequent analysis and optimization.\r\n\r\nI will add tests shortly. Just wanted to get this next pass moving into the review pipeline.\r\n\r\nI have not \"advertised\" this option yet in the spirv-opt usage message. I was thinking it might be better to hold off advertising until we have checked in enough passes so that users can actually see a reduction in SPIR-V file size using these passes."},"comment":{"url":"https://api.github.com/repos/KhronosGroup/SPIRV-Tools/issues/comments/306052149","html_url":"https://github.com/KhronosGroup/SPIRV-Tools/pull/651#issuecomment-306052149","issue_url":"https://api.github.com/repos/KhronosGroup/SPIRV-Tools/issues/651","id":306052149,"user":{"login":"dneto0","id":13054574,"avatar_url":"https://avatars3.githubusercontent.com/u/13054574?v=3","gravatar_id":"","url":"https://api.github.com/users/dneto0","html_url":"https://github.com/dneto0","followers_url":"https://api.github.com/users/dneto0/followers","following_url":"https://api.github.com/users/dneto0/following{/other_user}","gists_url":"https://api.github.com/users/dneto0/gists{/gist_id}","starred_url":"https://api.github.com/users/dneto0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dneto0/subscriptions","organizations_url":"https://api.github.com/users/dneto0/orgs","repos_url":"https://api.github.com/users/dneto0/repos","events_url":"https://api.github.com/users/dneto0/events{/privacy}","received_events_url":"https://api.github.com/users/dneto0/received_events","type":"User","site_admin":false},"created_at":"2017-06-04T16:53:11Z","updated_at":"2017-06-04T16:53:11Z","body":"Rebased, squashed, and pushed into master as aa7e687ef\r\n\r\nThanks!"}}
{"actor":{"display_login":"dneto0"}}