From: John M. <ato...@gm...> - 2009-12-09 01:52:05
|
On Fri, Dec 4, 2009 at 10:23 PM, Weddington, Eric <Eri...@at... > wrote: > .type func,@function > func: > # BB#0: > ldi r24, #1 > mov r24, r24 What's up with the redundant mov? Or will future optimization take care of > removing this? > > > ret > > .size func, .-func > > > > > The redudant mov is gone now. So it looks like whatever they changed in the LLVM trunk fixed it. C:\_projects_\build_llvm\bin\Debug>llc --version Low Level Virtual Machine (http://llvm.org/): llvm version 2.7svn DEBUG build with assertions. Built Dec 7 2009 (21:57:15). Host: i686-pc-win32 Host CPU: (unknown) Registered Targets: avr - AVR [experimental] C:\_projects_\build_llvm\bin\Debug>llc.exe -O0 -o - -filetype=asm -mcpu=atmega128 reti8.ll .file "reti8.ll" .text .align 16 .global func .type func,@function func: # BB#0: ldi r24, #1 ret .size func, .-func |