[llvm-commits] FW: [Patch] Don't generate Ordered/Unordered if not legal
Eli Friedman
eli.friedman at gmail.com
Tue Jul 31 09:23:24 PDT 2012
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