[LLVMdev] Eliminating dead copies

Scott Michel scottm at aero.org
Thu Jan 18 14:07:25 PST 2007


Just independently discovered this... Thanks!


-scooter

On Jan 18, 2007, at 11:52 AM, Andrew Lenharth wrote:

> 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
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev




More information about the llvm-dev mailing list