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

Michael Liao michael.liao at intel.com
Thu Aug 16 10:48:57 PDT 2012


revised again with special case (all operands in BUILD_VECTOR are
undefined.).

Yours
- Michael

On Wed, 2012-08-15 at 09:51 -0700, Michael Liao wrote:
> 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
> 
> _______________________________________________
> 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: 15308 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20120816/0320b3da/attachment.bin>


More information about the llvm-commits mailing list