{"action":"created","issue":{"url":"https://api.github.com/repos/avr-llvm/llvm/issues/148","labels_url":"https://api.github.com/repos/avr-llvm/llvm/issues/148/labels{/name}","comments_url":"https://api.github.com/repos/avr-llvm/llvm/issues/148/comments","events_url":"https://api.github.com/repos/avr-llvm/llvm/issues/148/events","html_url":"https://github.com/avr-llvm/llvm/pull/148","id":95436241,"number":148,"title":"Fix branch handling code","user":{"login":"dylanmckay","id":7722159,"avatar_url":"https://avatars.githubusercontent.com/u/7722159?v=3","gravatar_id":"","url":"https://api.github.com/users/dylanmckay","html_url":"https://github.com/dylanmckay","followers_url":"https://api.github.com/users/dylanmckay/followers","following_url":"https://api.github.com/users/dylanmckay/following{/other_user}","gists_url":"https://api.github.com/users/dylanmckay/gists{/gist_id}","starred_url":"https://api.github.com/users/dylanmckay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dylanmckay/subscriptions","organizations_url":"https://api.github.com/users/dylanmckay/orgs","repos_url":"https://api.github.com/users/dylanmckay/repos","events_url":"https://api.github.com/users/dylanmckay/events{/privacy}","received_events_url":"https://api.github.com/users/dylanmckay/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-16T13:44:10Z","updated_at":"2015-07-16T13:46:25Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/avr-llvm/llvm/pulls/148","html_url":"https://github.com/avr-llvm/llvm/pull/148","diff_url":"https://github.com/avr-llvm/llvm/pull/148.diff","patch_url":"https://github.com/avr-llvm/llvm/pull/148.patch"},"body":"Beforehand, if a PC-relative branch target was parsed (in `AVRAsmParser.cpp`), we threw away the `.` token and then delegated the operand parsing to LLVM.\r\n\r\nNow, if we see the `.` token, we give it to LLVM so that it can handle the address itself. LLVM will create a temporary label for each PC-relative branch, and use that."},"comment":{"url":"https://api.github.com/repos/avr-llvm/llvm/issues/comments/121961222","html_url":"https://github.com/avr-llvm/llvm/pull/148#issuecomment-121961222","issue_url":"https://api.github.com/repos/avr-llvm/llvm/issues/148","id":121961222,"user":{"login":"dylanmckay","id":7722159,"avatar_url":"https://avatars.githubusercontent.com/u/7722159?v=3","gravatar_id":"","url":"https://api.github.com/users/dylanmckay","html_url":"https://github.com/dylanmckay","followers_url":"https://api.github.com/users/dylanmckay/followers","following_url":"https://api.github.com/users/dylanmckay/following{/other_user}","gists_url":"https://api.github.com/users/dylanmckay/gists{/gist_id}","starred_url":"https://api.github.com/users/dylanmckay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dylanmckay/subscriptions","organizations_url":"https://api.github.com/users/dylanmckay/orgs","repos_url":"https://api.github.com/users/dylanmckay/repos","events_url":"https://api.github.com/users/dylanmckay/events{/privacy}","received_events_url":"https://api.github.com/users/dylanmckay/received_events","type":"User","site_admin":false},"created_at":"2015-07-16T13:46:25Z","updated_at":"2015-07-16T13:46:25Z","body":"@agnat What do you think?\r\n\r\nThis does mean that we aren't testing the fixup application code for these branches, and that we must check the `; fixup: ........` `llvm-mc` output instead. It is how every other backend handles branches, and is a lot less fragile."}}