From: Josef E. <za...@za...> - 2009-12-09 15:08:55
|
John Myers wrote: > 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. Nope. You fixed it in r53 ;)! The isMoveInstr() allows llvm to detect redundant MOVs. BTW: great work! Josef |