[AVR] Fix the 'call.ll' CodeGen test
authorDylan McKay <me@dylanmckay.io>
Wed, 10 Oct 2018 03:21:42 +0000 (03:21 +0000)
committerDylan McKay <me@dylanmckay.io>
Wed, 10 Oct 2018 03:21:42 +0000 (03:21 +0000)
commit30ef1d60f9cb22f5958f42be94f8831b266da416
treec4a35e9e7672abc9b592226b718e8348ca0f6f5c
parent892b09ba11c99f033a8dd1ec62e04754aaeeba7c
[AVR] Fix the 'call.ll' CodeGen test

Commit r343851 changed the format of the generated instructions.

An unnecessary load has been removed. Previously, a value would be moved
from r24 into a temporary register just to be copied into r30 before the
indirect call. Now, codegen immediately loads r24 into r30, saving a
MOVW instruction.

llvm-svn: 344111
llvm/test/CodeGen/AVR/call.ll