[llvm-commits] FW: [Patch] Don't generate Ordered/Unordered if not legal
Villmow, Micah
Micah.Villmow at amd.com
Tue Jul 31 09:48:43 PDT 2012
r161053.
> -----Original Message-----
> From: Eli Friedman [mailto:eli.friedman at gmail.com]
> Sent: Tuesday, July 31, 2012 9:23 AM
> To: Villmow, Micah
> Cc: llvm-commits at cs.uiuc.edu
> Subject: Re: [llvm-commits] FW: [Patch] Don't generate Ordered/Unordered
> if not legal
>
> On Tue, Jul 31, 2012 at 8:14 AM, Villmow, Micah <Micah.Villmow at amd.com>
> wrote:
> > Ping!
>
> - if (NewCond != Cond)
> + if (NewCond != Cond
> + && getCondCodeAction(NewCond, N0.getValueType()) == Legal)
>
> That should be "DCI.isBeforeLegalizeOps() || getCondCodeAction...".
> Otherwise, looks fine.
>
> -Eli
>
> >
> >
> > From: Villmow, Micah
> > Sent: Friday, July 27, 2012 3:59 PM
> > To: llvm-commits at cs.uiuc.edu
> > Subject: [Patch] Don't generate Ordered/Unordered if not legal
> >
> >
> >
> > This patch disables the generation of Ordered/Unordered in the final
> > legalize phase if it is not legal.
> >
> >
> >
> > Micah
> >
> >
> > _______________________________________________
> > 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