]> granicus.if.org Git - llvm/commit
[AVR] Add the branch selection pass from the GitHub repository
authorDylan McKay <me@dylanmckay.io>
Wed, 5 Jul 2017 00:41:19 +0000 (00:41 +0000)
committerDylan McKay <me@dylanmckay.io>
Wed, 5 Jul 2017 00:41:19 +0000 (00:41 +0000)
commitb95f4b6ade69cb6b8a5e22412f322e41d15fe4e0
treee38090127f05dedcca952f497445a83381617cbe
parent2a5f74d29fbc6005f42652c412341a0bb5077748
[AVR] Add the branch selection pass from the GitHub repository

We should rewrite this using the generic branch relaxation pass, but for
the moment having this pass is better than hitting an assertion error.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@307109 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/AVR/AVRBranchSelector.cpp [new file with mode: 0644]
lib/Target/AVR/AVRTargetMachine.cpp
lib/Target/AVR/CMakeLists.txt
test/CodeGen/AVR/ctlz.ll
test/CodeGen/AVR/cttz.ll
test/CodeGen/AVR/select-mbb-placement-bug.ll