[LLVMdev] Eliminating dead copies

Andrew Lenharth andrewl at lenharth.org
Thu Jan 18 11:52:19 PST 2007


On 1/18/07, Scott Michel <scottm at rushg.aero.org> wrote:
> Is there any way I can detect when this occurs, or is there code
> where this detection takes place in the target to which I can
> refer?

have you implemented InstInfo::isMoveInstr to recognize those?  The
register allocator uses that to find copies it can remove.

Andrew



More information about the llvm-dev mailing list