[LLVMdev] A question about instruction operands.
Sanjiv.Gupta at microchip.com
Sanjiv.Gupta at microchip.com
Tue Sep 23 09:05:37 PDT 2008
> >>>
> >> It's enclosed inside :
> >>
> >> let isTwoAddress = 1 in {
> >> ...
> >> }
> >>
> >> (you'll need to scroll up a fair amount to find this).
> >>
> >>
> > That means, it gets converted to
> > dst = src;
> > dst = dst + 1;
> >
> > Right ?
> >
> > - Sanjiv
> >
> Yes, I believe the two address instruction pass performs exactly this
> transformation.
>
Thanks.
How do I communicate if my CopyRegToReg instruction clobbers a register
of another register class? Is it through let Defs = [REG] { ... } while
defining the instr pattern?
- Sanjiv
> _______________________________________________
> 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