Commit Graph

8 Commits

Author SHA1 Message Date
Dylan McKay 823bc662fa [AVR] Implement some missing code paths
This has been broken since r320009.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@320348 91177308-0d34-0410-b5e6-96231b3b80d8
2017-12-11 11:01:27 +00:00
Dylan McKay 4f045484f2 Revert and accidentally committed revert commit
This reverts commit r320245.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@320247 91177308-0d34-0410-b5e6-96231b3b80d8
2017-12-09 08:01:28 +00:00
Dylan McKay b45d5a8523 Revert "[AVR] Override ParseDirective"
This reverts commit 57c16f9267.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@320245 91177308-0d34-0410-b5e6-96231b3b80d8
2017-12-09 07:51:37 +00:00
Leslie Zhai 57c16f9267 [AVR] Override ParseDirective
Reviewers: dylanmckay, kparzysz

Reviewed By: dylanmckay

Differential Revision: https://reviews.llvm.org/D38029


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@320009 91177308-0d34-0410-b5e6-96231b3b80d8
2017-12-07 06:56:09 +00:00
Dylan McKay 00a3d282d0 [AVR] Use the short form of 'clr <reg>'
r318895 made it so that the simpler instruction aliases are printed
rather than their expanded form.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@318954 91177308-0d34-0410-b5e6-96231b3b80d8
2017-11-24 15:36:43 +00:00
Dylan McKay ef0aeadf37 [AVR] Remove a bunch of now-obselete tests
The fixups in these instructions are now lowered into relocations.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@306947 91177308-0d34-0410-b5e6-96231b3b80d8
2017-07-01 05:23:13 +00:00
Dylan McKay 900da3662a [AVR] Fix a bug so that we now emit R_AVR_16 fixups with the correct offset
Before this, the LDS/STS instructions would have their opcodes
overwritten while linking.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@301782 91177308-0d34-0410-b5e6-96231b3b80d8
2017-04-30 23:33:52 +00:00
Dylan McKay 64af2512f1 [AVR] Add all of the machine code test suite
Summary: This adds all of the AVR machine code tests.

Reviewers: arsenm, kparzysz

Subscribers: wdng, japaric

Differential Revision: https://reviews.llvm.org/D26387

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@286417 91177308-0d34-0410-b5e6-96231b3b80d8
2016-11-09 23:46:25 +00:00