{"action":"created","issue":{"url":"https://api.github.com/repos/pocl/pocl/issues/509","repository_url":"https://api.github.com/repos/pocl/pocl","labels_url":"https://api.github.com/repos/pocl/pocl/issues/509/labels{/name}","comments_url":"https://api.github.com/repos/pocl/pocl/issues/509/comments","events_url":"https://api.github.com/repos/pocl/pocl/issues/509/events","html_url":"https://github.com/pocl/pocl/issues/509","id":249595203,"number":509,"title":"optimize-wi-func-calls pass basic/work_item_functions conformance test","user":{"login":"jrprice","id":3430185,"avatar_url":"https://avatars0.githubusercontent.com/u/3430185?v=4","gravatar_id":"","url":"https://api.github.com/users/jrprice","html_url":"https://github.com/jrprice","followers_url":"https://api.github.com/users/jrprice/followers","following_url":"https://api.github.com/users/jrprice/following{/other_user}","gists_url":"https://api.github.com/users/jrprice/gists{/gist_id}","starred_url":"https://api.github.com/users/jrprice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jrprice/subscriptions","organizations_url":"https://api.github.com/users/jrprice/orgs","repos_url":"https://api.github.com/users/jrprice/repos","events_url":"https://api.github.com/users/jrprice/events{/privacy}","received_events_url":"https://api.github.com/users/jrprice/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"pjaaskel","id":1652632,"avatar_url":"https://avatars2.githubusercontent.com/u/1652632?v=4","gravatar_id":"","url":"https://api.github.com/users/pjaaskel","html_url":"https://github.com/pjaaskel","followers_url":"https://api.github.com/users/pjaaskel/followers","following_url":"https://api.github.com/users/pjaaskel/following{/other_user}","gists_url":"https://api.github.com/users/pjaaskel/gists{/gist_id}","starred_url":"https://api.github.com/users/pjaaskel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pjaaskel/subscriptions","organizations_url":"https://api.github.com/users/pjaaskel/orgs","repos_url":"https://api.github.com/users/pjaaskel/repos","events_url":"https://api.github.com/users/pjaaskel/events{/privacy}","received_events_url":"https://api.github.com/users/pjaaskel/received_events","type":"User","site_admin":false},"assignees":[{"login":"pjaaskel","id":1652632,"avatar_url":"https://avatars2.githubusercontent.com/u/1652632?v=4","gravatar_id":"","url":"https://api.github.com/users/pjaaskel","html_url":"https://github.com/pjaaskel","followers_url":"https://api.github.com/users/pjaaskel/followers","following_url":"https://api.github.com/users/pjaaskel/following{/other_user}","gists_url":"https://api.github.com/users/pjaaskel/gists{/gist_id}","starred_url":"https://api.github.com/users/pjaaskel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pjaaskel/subscriptions","organizations_url":"https://api.github.com/users/pjaaskel/orgs","repos_url":"https://api.github.com/users/pjaaskel/repos","events_url":"https://api.github.com/users/pjaaskel/events{/privacy}","received_events_url":"https://api.github.com/users/pjaaskel/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/pocl/pocl/milestones/8","html_url":"https://github.com/pocl/pocl/milestone/8","labels_url":"https://api.github.com/repos/pocl/pocl/milestones/8/labels","id":2664602,"number":8,"title":"1.0","description":"The next release will be called 1.0 or 0.15, depending whether we can get 1.2 conformance suite pass or not.","creator":{"login":"pjaaskel","id":1652632,"avatar_url":"https://avatars2.githubusercontent.com/u/1652632?v=4","gravatar_id":"","url":"https://api.github.com/users/pjaaskel","html_url":"https://github.com/pjaaskel","followers_url":"https://api.github.com/users/pjaaskel/followers","following_url":"https://api.github.com/users/pjaaskel/following{/other_user}","gists_url":"https://api.github.com/users/pjaaskel/gists{/gist_id}","starred_url":"https://api.github.com/users/pjaaskel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pjaaskel/subscriptions","organizations_url":"https://api.github.com/users/pjaaskel/orgs","repos_url":"https://api.github.com/users/pjaaskel/repos","events_url":"https://api.github.com/users/pjaaskel/events{/privacy}","received_events_url":"https://api.github.com/users/pjaaskel/received_events","type":"User","site_admin":false},"open_issues":5,"closed_issues":11,"state":"open","created_at":"2017-07-27T06:19:18Z","updated_at":"2017-08-11T11:45:42Z","due_on":"2017-09-01T07:00:00Z","closed_at":null},"comments":1,"created_at":"2017-08-11T10:25:44Z","updated_at":"2017-08-11T21:34:00Z","closed_at":"2017-08-11T11:45:42Z","body":"Commit 1d161ede1 introduced a pass to optimize calls to work-item functions.\r\n\r\nThis pass doesn't properly handle cases where the argument to the function call is not constant. There's some logic in there to check for non constant arguments, but only when deciding whether to use a previously moved call. Line 151 seems to unconditionally move the first function call to the start of the function, even if it has variable arguments.\r\n"},"comment":{"url":"https://api.github.com/repos/pocl/pocl/issues/comments/321924265","html_url":"https://github.com/pocl/pocl/issues/509#issuecomment-321924265","issue_url":"https://api.github.com/repos/pocl/pocl/issues/509","id":321924265,"user":{"login":"jrprice","id":3430185,"avatar_url":"https://avatars0.githubusercontent.com/u/3430185?v=4","gravatar_id":"","url":"https://api.github.com/users/jrprice","html_url":"https://github.com/jrprice","followers_url":"https://api.github.com/users/jrprice/followers","following_url":"https://api.github.com/users/jrprice/following{/other_user}","gists_url":"https://api.github.com/users/jrprice/gists{/gist_id}","starred_url":"https://api.github.com/users/jrprice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jrprice/subscriptions","organizations_url":"https://api.github.com/users/jrprice/orgs","repos_url":"https://api.github.com/users/jrprice/repos","events_url":"https://api.github.com/users/jrprice/events{/privacy}","received_events_url":"https://api.github.com/users/jrprice/received_events","type":"User","site_admin":false},"created_at":"2017-08-11T21:34:00Z","updated_at":"2017-08-11T21:34:00Z","body":"I can confirm this fixes the issue - thanks."}}
{"actor":{"display_login":"jrprice"}}