[AVR] Remove the earlyclobber flag from LDDWRdYQ
authorDylan McKay <me@dylanmckay.io>
Tue, 6 Mar 2018 11:20:25 +0000 (11:20 +0000)
committerDylan McKay <me@dylanmckay.io>
Tue, 6 Mar 2018 11:20:25 +0000 (11:20 +0000)
commit8f46486c6550beeeb9ad22c70dff49e0656928b8
treec23ecc8cad201759026b4b864d4e0f78cc8d4339
parente3395b9016fbf212027d4a2a1339c40c760fb03e
[AVR] Remove the earlyclobber flag from LDDWRdYQ

Before I started maintaining the AVR backend, this instruction
never originally used to have an earlyclobber flag.

Some time afterwards (years ago), I must've added it back in, not realising that it
was left out for a reason.

This pseudo instrction exists solely to work around a long standing bug
in the register allocator.

Before this commit, the LDDWRdYQ pseudo was not actually working around
any bug. With the earlyclobber flag removed again, the LDDWRdYQ pseudo
now correctly works around PR13375 again.

llvm-svn: 326774
llvm/lib/Target/AVR/AVRInstrInfo.td
llvm/test/CodeGen/AVR/issue-regalloc-stackframe-folding-earlyclobber.ll [new file with mode: 0644]