{"action":"closed","issue":{"url":"https://api.github.com/repos/CTSRD-CHERI/llvm/issues/131","repository_url":"https://api.github.com/repos/CTSRD-CHERI/llvm","labels_url":"https://api.github.com/repos/CTSRD-CHERI/llvm/issues/131/labels{/name}","comments_url":"https://api.github.com/repos/CTSRD-CHERI/llvm/issues/131/comments","events_url":"https://api.github.com/repos/CTSRD-CHERI/llvm/issues/131/events","html_url":"https://github.com/CTSRD-CHERI/llvm/issues/131","id":114416640,"number":131,"title":"Inliner is disabled in the sandbox ABI","user":{"login":"davidchisnall","id":404454,"avatar_url":"https://avatars.githubusercontent.com/u/404454?v=3","gravatar_id":"","url":"https://api.github.com/users/davidchisnall","html_url":"https://github.com/davidchisnall","followers_url":"https://api.github.com/users/davidchisnall/followers","following_url":"https://api.github.com/users/davidchisnall/following{/other_user}","gists_url":"https://api.github.com/users/davidchisnall/gists{/gist_id}","starred_url":"https://api.github.com/users/davidchisnall/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidchisnall/subscriptions","organizations_url":"https://api.github.com/users/davidchisnall/orgs","repos_url":"https://api.github.com/users/davidchisnall/repos","events_url":"https://api.github.com/users/davidchisnall/events{/privacy}","received_events_url":"https://api.github.com/users/davidchisnall/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/CTSRD-CHERI/llvm/labels/Missed%20Optimisation","name":"Missed Optimisation","color":"006b75"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-31T15:27:07Z","updated_at":"2016-02-16T12:20:52Z","closed_at":"2016-02-16T12:20:52Z","body":"The current lowering of calls in CHERI-clang turns direct calls into calls of an expression that is the result of arithmetic on PCC.  The inliner doesn't recognise them as potential inlining targets.\r\n\r\nThe correct fix is probably to defer some of this to a pre-codegen pass so that the IR fed to the optimisers looks a bit more normal."}}