Dylan McKay
c5e209a0b2
[AVR] Parenthesize a boolean expression
...
Without the parentheses, clang would emit warnings while compiling the
code.
llvm-svn: 291320
2017-01-07 00:55:28 +00:00
Dylan McKay
658bb0964a
[AVR] Remove incorrect comment
...
This should've been removed in r289323.
llvm-svn: 289346
2016-12-10 23:50:30 +00:00
Dylan McKay
d8a603c23b
[AVR] Fix and clean up the inline assembly tests
...
There was a bug where we would hit an assertion if 'Q' was used as a
constraint.
I also removed hardcoded register names to prefer regexes so the tests
don't break when the register allocator changes.
llvm-svn: 289325
2016-12-10 11:49:07 +00:00
Dylan McKay
801a4bd4ed
[AVR] Fix an inline asm assertion which would always trigger
...
It looks like some time in the past, constraint codes were changed from
chars being passed around to enums.
llvm-svn: 289323
2016-12-10 11:18:37 +00:00
Dylan McKay
5d0233bea2
[AVR] Support stores to undefined pointers
...
This would previously trigger an assertion error in AVRISelDAGToDAG.
llvm-svn: 289321
2016-12-10 10:16:13 +00:00
Dylan McKay
fac9ce5413
[AVR] Add an assertion to ensure we don't emit LPM when it's unsupported
...
llvm-svn: 289030
2016-12-08 08:34:13 +00:00
Dylan McKay
ec47065795
[AVR] Add AVRISelDAGToDAG.cpp
...
Summary: This pulls the AVR instruction selector in-tree.
Reviewers: arsenm, kparzysz
Subscribers: llvm-commits, wdng, beanz, japaric, mgorny
Differential Revision: https://reviews.llvm.org/D25278
llvm-svn: 285270
2016-10-27 07:03:47 +00:00