[LLVMdev] implicit register usage

Jim Grosbach grosbach at apple.com
Mon Feb 18 13:22:43 PST 2013


Hi Reed,

The .td file "Defs = …" should be sufficient. The implicit uses and implicit defs are part of the MCInstrDesc data structure, which is shared by all instances of a given instruction.

-Jim

On Feb 17, 2013, at 2:22 PM, reed kotler <rkotler at mips.com> wrote:

> If I put in my tablegen td file that a certain instruction implicitly sets a register, do I need to also do the same if I am using BuildMI or can I assume that further passes and such will now know that this register is implicitly set or used?
> 
> _______________________________________________
> 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