[llvm-commits] [PATCH 2/2] fix issues similar to PR11334

Michael Liao michael.liao at intel.com
Wed Aug 15 09:51:52 PDT 2012


Here is a revised patch reducing FP_ROUND DAG combination overhead.

Yours
- Michael

On Tue, 2012-08-14 at 15:32 -0700, Michael Liao wrote:
> Hi
> 
> Here're two patches fixing issues similar to but not the exactly same as
> PR11334. The second part fixes FPROUND from f64 vector to f32 vector.
> This patches add a lowering helper for BUILD_VECTOR to recognize the
> scalarized pattern due to FPROUND requires matching elements. A lower
> overhead DAG combination of FPROUND is added as well to handle a special
> case (v2f64 -> v2f32) in AVX, where it's converted to v4f64 -> v4f32
> after type legalization and, instead of vcvtpd2ps, use vcvtpd2psy and
> unnecessary 256-bit vector registers. Tests are added/revised as well.
> 
> Yours
> - Michael
> 
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-enhance-PR11334-to-support-fp_round-from-v2f64-to-v2.patch
Type: text/x-patch
Size: 15203 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20120815/861d57c4/attachment.bin>


More information about the llvm-commits mailing list