[PATCH] Fix PR16807
Nadav Rotem
nrotem at apple.com
Tue Oct 15 09:38:03 PDT 2013
LGTM.
On Oct 15, 2013, at 9:16 AM, Michael Liao <michael.liao at intel.com> wrote:
> Hi
>
> The attached patch fixes PR16807. The root cause is that the constant
> powers-of-2 division lowering code directly translates that division
> into target-dependant code and breaks on target without legal operations
> supported (VPSRAW on <16 x i16> is only supported on AVX2). This patch
> fixes that by lowering them into target-independent one and could
> generate correct and efficient code on AVX.
>
> Thanks for review
> - Michael
> <0001-Fix-PR16807.patch>_______________________________________________
> 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