{"action":"opened","number":465,"pull_request":{"url":"https://api.github.com/repos/scala-native/scala-native/pulls/465","id":99449937,"html_url":"https://github.com/scala-native/scala-native/pull/465","diff_url":"https://github.com/scala-native/scala-native/pull/465.diff","patch_url":"https://github.com/scala-native/scala-native/pull/465.patch","issue_url":"https://api.github.com/repos/scala-native/scala-native/issues/465","number":465,"state":"open","locked":false,"title":"Add a canonicalization pass","user":{"login":"hkapp","id":10584771,"avatar_url":"https://avatars.githubusercontent.com/u/10584771?v=3","gravatar_id":"","url":"https://api.github.com/users/hkapp","html_url":"https://github.com/hkapp","followers_url":"https://api.github.com/users/hkapp/followers","following_url":"https://api.github.com/users/hkapp/following{/other_user}","gists_url":"https://api.github.com/users/hkapp/gists{/gist_id}","starred_url":"https://api.github.com/users/hkapp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hkapp/subscriptions","organizations_url":"https://api.github.com/users/hkapp/orgs","repos_url":"https://api.github.com/users/hkapp/repos","events_url":"https://api.github.com/users/hkapp/events{/privacy}","received_events_url":"https://api.github.com/users/hkapp/received_events","type":"User","site_admin":false},"body":"Add a canonicalization pass, which is very helpful for the InstCombine-like passes (coming in separate PRs).\r\n\r\nNot sure I got all the constant and commutative ops right, comments on this are welcome.","created_at":"2016-12-27T14:27:38Z","updated_at":"2016-12-27T14:27:38Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/scala-native/scala-native/pulls/465/commits","review_comments_url":"https://api.github.com/repos/scala-native/scala-native/pulls/465/comments","review_comment_url":"https://api.github.com/repos/scala-native/scala-native/pulls/comments{/number}","comments_url":"https://api.github.com/repos/scala-native/scala-native/issues/465/comments","statuses_url":"https://api.github.com/repos/scala-native/scala-native/statuses/db3f96b97e4d57b7416fc338e2c6e67372ce008f","head":{"label":"hkapp:topic/optimizations/canonicalize","ref":"topic/optimizations/canonicalize","sha":"db3f96b97e4d57b7416fc338e2c6e67372ce008f","user":{"login":"hkapp","id":10584771,"avatar_url":"https://avatars.githubusercontent.com/u/10584771?v=3","gravatar_id":"","url":"https://api.github.com/users/hkapp","html_url":"https://github.com/hkapp","followers_url":"https://api.github.com/users/hkapp/followers","following_url":"https://api.github.com/users/hkapp/following{/other_user}","gists_url":"https://api.github.com/users/hkapp/gists{/gist_id}","starred_url":"https://api.github.com/users/hkapp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hkapp/subscriptions","organizations_url":"https://api.github.com/users/hkapp/orgs","repos_url":"https://api.github.com/users/hkapp/repos","events_url":"https://api.github.com/users/hkapp/events{/privacy}","received_events_url":"https://api.github.com/users/hkapp/received_events","type":"User","site_admin":false},"repo":{"id":70225001,"name":"scala-native","full_name":"hkapp/scala-native","owner":{"login":"hkapp","id":10584771,"avatar_url":"https://avatars.githubusercontent.com/u/10584771?v=3","gravatar_id":"","url":"https://api.github.com/users/hkapp","html_url":"https://github.com/hkapp","followers_url":"https://api.github.com/users/hkapp/followers","following_url":"https://api.github.com/users/hkapp/following{/other_user}","gists_url":"https://api.github.com/users/hkapp/gists{/gist_id}","starred_url":"https://api.github.com/users/hkapp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hkapp/subscriptions","organizations_url":"https://api.github.com/users/hkapp/orgs","repos_url":"https://api.github.com/users/hkapp/repos","events_url":"https://api.github.com/users/hkapp/events{/privacy}","received_events_url":"https://api.github.com/users/hkapp/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/hkapp/scala-native","description":"Your favourite language gets closer to bare metal.","fork":true,"url":"https://api.github.com/repos/hkapp/scala-native","forks_url":"https://api.github.com/repos/hkapp/scala-native/forks","keys_url":"https://api.github.com/repos/hkapp/scala-native/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hkapp/scala-native/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hkapp/scala-native/teams","hooks_url":"https://api.github.com/repos/hkapp/scala-native/hooks","issue_events_url":"https://api.github.com/repos/hkapp/scala-native/issues/events{/number}","events_url":"https://api.github.com/repos/hkapp/scala-native/events","assignees_url":"https://api.github.com/repos/hkapp/scala-native/assignees{/user}","branches_url":"https://api.github.com/repos/hkapp/scala-native/branches{/branch}","tags_url":"https://api.github.com/repos/hkapp/scala-native/tags","blobs_url":"https://api.github.com/repos/hkapp/scala-native/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hkapp/scala-native/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hkapp/scala-native/git/refs{/sha}","trees_url":"https://api.github.com/repos/hkapp/scala-native/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hkapp/scala-native/statuses/{sha}","languages_url":"https://api.github.com/repos/hkapp/scala-native/languages","stargazers_url":"https://api.github.com/repos/hkapp/scala-native/stargazers","contributors_url":"https://api.github.com/repos/hkapp/scala-native/contributors","subscribers_url":"https://api.github.com/repos/hkapp/scala-native/subscribers","subscription_url":"https://api.github.com/repos/hkapp/scala-native/subscription","commits_url":"https://api.github.com/repos/hkapp/scala-native/commits{/sha}","git_commits_url":"https://api.github.com/repos/hkapp/scala-native/git/commits{/sha}","comments_url":"https://api.github.com/repos/hkapp/scala-native/comments{/number}","issue_comment_url":"https://api.github.com/repos/hkapp/scala-native/issues/comments{/number}","contents_url":"https://api.github.com/repos/hkapp/scala-native/contents/{+path}","compare_url":"https://api.github.com/repos/hkapp/scala-native/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hkapp/scala-native/merges","archive_url":"https://api.github.com/repos/hkapp/scala-native/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hkapp/scala-native/downloads","issues_url":"https://api.github.com/repos/hkapp/scala-native/issues{/number}","pulls_url":"https://api.github.com/repos/hkapp/scala-native/pulls{/number}","milestones_url":"https://api.github.com/repos/hkapp/scala-native/milestones{/number}","notifications_url":"https://api.github.com/repos/hkapp/scala-native/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hkapp/scala-native/labels{/name}","releases_url":"https://api.github.com/repos/hkapp/scala-native/releases{/id}","deployments_url":"https://api.github.com/repos/hkapp/scala-native/deployments","created_at":"2016-10-07T07:36:19Z","updated_at":"2016-10-07T07:36:22Z","pushed_at":"2016-12-27T14:25:31Z","git_url":"git://github.com/hkapp/scala-native.git","ssh_url":"git@github.com:hkapp/scala-native.git","clone_url":"https://github.com/hkapp/scala-native.git","svn_url":"https://github.com/hkapp/scala-native","homepage":"http://scala-native.org","size":3229,"stargazers_count":0,"watchers_count":0,"language":"Scala","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"scala-native:master","ref":"master","sha":"b429e6259e82a9b4385597e033b7a2bb5afde974","user":{"login":"scala-native","id":17545605,"avatar_url":"https://avatars.githubusercontent.com/u/17545605?v=3","gravatar_id":"","url":"https://api.github.com/users/scala-native","html_url":"https://github.com/scala-native","followers_url":"https://api.github.com/users/scala-native/followers","following_url":"https://api.github.com/users/scala-native/following{/other_user}","gists_url":"https://api.github.com/users/scala-native/gists{/gist_id}","starred_url":"https://api.github.com/users/scala-native/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scala-native/subscriptions","organizations_url":"https://api.github.com/users/scala-native/orgs","repos_url":"https://api.github.com/users/scala-native/repos","events_url":"https://api.github.com/users/scala-native/events{/privacy}","received_events_url":"https://api.github.com/users/scala-native/received_events","type":"Organization","site_admin":false},"repo":{"id":27235687,"name":"scala-native","full_name":"scala-native/scala-native","owner":{"login":"scala-native","id":17545605,"avatar_url":"https://avatars.githubusercontent.com/u/17545605?v=3","gravatar_id":"","url":"https://api.github.com/users/scala-native","html_url":"https://github.com/scala-native","followers_url":"https://api.github.com/users/scala-native/followers","following_url":"https://api.github.com/users/scala-native/following{/other_user}","gists_url":"https://api.github.com/users/scala-native/gists{/gist_id}","starred_url":"https://api.github.com/users/scala-native/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scala-native/subscriptions","organizations_url":"https://api.github.com/users/scala-native/orgs","repos_url":"https://api.github.com/users/scala-native/repos","events_url":"https://api.github.com/users/scala-native/events{/privacy}","received_events_url":"https://api.github.com/users/scala-native/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/scala-native/scala-native","description":"Your favourite language gets closer to bare metal.","fork":false,"url":"https://api.github.com/repos/scala-native/scala-native","forks_url":"https://api.github.com/repos/scala-native/scala-native/forks","keys_url":"https://api.github.com/repos/scala-native/scala-native/keys{/key_id}","collaborators_url":"https://api.github.com/repos/scala-native/scala-native/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/scala-native/scala-native/teams","hooks_url":"https://api.github.com/repos/scala-native/scala-native/hooks","issue_events_url":"https://api.github.com/repos/scala-native/scala-native/issues/events{/number}","events_url":"https://api.github.com/repos/scala-native/scala-native/events","assignees_url":"https://api.github.com/repos/scala-native/scala-native/assignees{/user}","branches_url":"https://api.github.com/repos/scala-native/scala-native/branches{/branch}","tags_url":"https://api.github.com/repos/scala-native/scala-native/tags","blobs_url":"https://api.github.com/repos/scala-native/scala-native/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/scala-native/scala-native/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/scala-native/scala-native/git/refs{/sha}","trees_url":"https://api.github.com/repos/scala-native/scala-native/git/trees{/sha}","statuses_url":"https://api.github.com/repos/scala-native/scala-native/statuses/{sha}","languages_url":"https://api.github.com/repos/scala-native/scala-native/languages","stargazers_url":"https://api.github.com/repos/scala-native/scala-native/stargazers","contributors_url":"https://api.github.com/repos/scala-native/scala-native/contributors","subscribers_url":"https://api.github.com/repos/scala-native/scala-native/subscribers","subscription_url":"https://api.github.com/repos/scala-native/scala-native/subscription","commits_url":"https://api.github.com/repos/scala-native/scala-native/commits{/sha}","git_commits_url":"https://api.github.com/repos/scala-native/scala-native/git/commits{/sha}","comments_url":"https://api.github.com/repos/scala-native/scala-native/comments{/number}","issue_comment_url":"https://api.github.com/repos/scala-native/scala-native/issues/comments{/number}","contents_url":"https://api.github.com/repos/scala-native/scala-native/contents/{+path}","compare_url":"https://api.github.com/repos/scala-native/scala-native/compare/{base}...{head}","merges_url":"https://api.github.com/repos/scala-native/scala-native/merges","archive_url":"https://api.github.com/repos/scala-native/scala-native/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/scala-native/scala-native/downloads","issues_url":"https://api.github.com/repos/scala-native/scala-native/issues{/number}","pulls_url":"https://api.github.com/repos/scala-native/scala-native/pulls{/number}","milestones_url":"https://api.github.com/repos/scala-native/scala-native/milestones{/number}","notifications_url":"https://api.github.com/repos/scala-native/scala-native/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/scala-native/scala-native/labels{/name}","releases_url":"https://api.github.com/repos/scala-native/scala-native/releases{/id}","deployments_url":"https://api.github.com/repos/scala-native/scala-native/deployments","created_at":"2014-11-27T17:38:28Z","updated_at":"2016-12-27T07:41:15Z","pushed_at":"2016-12-27T13:31:10Z","git_url":"git://github.com/scala-native/scala-native.git","ssh_url":"git@github.com:scala-native/scala-native.git","clone_url":"https://github.com/scala-native/scala-native.git","svn_url":"https://github.com/scala-native/scala-native","homepage":"http://scala-native.org","size":3178,"stargazers_count":2228,"watchers_count":2228,"language":"Scala","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":109,"mirror_url":null,"open_issues_count":109,"forks":109,"open_issues":109,"watchers":2228,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/scala-native/scala-native/pulls/465"},"html":{"href":"https://github.com/scala-native/scala-native/pull/465"},"issue":{"href":"https://api.github.com/repos/scala-native/scala-native/issues/465"},"comments":{"href":"https://api.github.com/repos/scala-native/scala-native/issues/465/comments"},"review_comments":{"href":"https://api.github.com/repos/scala-native/scala-native/pulls/465/comments"},"review_comment":{"href":"https://api.github.com/repos/scala-native/scala-native/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/scala-native/scala-native/pulls/465/commits"},"statuses":{"href":"https://api.github.com/repos/scala-native/scala-native/statuses/db3f96b97e4d57b7416fc338e2c6e67372ce008f"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":53,"deletions":0,"changed_files":2}}
{"actor":{"display_login":"hkapp"}}