[llvm-commits] r64000 breaks PIC16

Alireza.Moshtaghi at microchip.com Alireza.Moshtaghi at microchip.com
Tue Feb 17 13:14:18 PST 2009


Thanks,
That worked,

A.

> -----Original Message-----
> From: llvm-commits-bounces at cs.uiuc.edu [mailto:llvm-commits-
> bounces at cs.uiuc.edu] On Behalf Of Chris Lattner
> Sent: Tuesday, February 17, 2009 11:59 AM
> To: Commit Messages and Patches for LLVM
> Subject: Re: [llvm-commits] r64000 breaks PIC16
> 
> 
> On Feb 17, 2009, at 10:14 AM, Alireza.Moshtaghi at microchip.com wrote:
> 
> > Hi Chris,
> > I was busy with some other stuff and just now got to try this...
> > The flag SDNPOutFlag is set for subfw but the sinker does not look
at
> > it. I have to also set the flag SDNPSideEffect for it to work
> > correctly.
> > Now the question is SDNPOutFlag not a reason for keeping the
> > instruction
> > in its place? Or there may be need to for some corrections in the
> > sinker?
> 
> Hi Ali,
> 
> This needs to be a property on the machine instruction, not on the dag
> node.  The X86 backend uses:
> 
> let Defs = [EFLAGS] in {
> 
> }
> 
> around instructions that define the flags for example.  You can also
> use the "Imp" helper to set this on specific instructions.
> 
> -Chris
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits




More information about the llvm-commits mailing list