[PATCH] X86: fold SSE2/AVX2 logical shift by immediate amout into zero vector when possible

Andrea_DiBiagio at sn.scee.net Andrea_DiBiagio at sn.scee.net
Fri Jul 12 06:57:21 PDT 2013


Hi,
I attached the patch against the most recent tot.
Could you please commit this patch for me? (I have no commit access)

Thanks,
Andrea Di Biagio
SN Systems - Sony Computer Entertainment Group



> From: Andrea DiBiagio/SN R&D/BS/UK/SCEE
> > From: Nadav Rotem <nrotem at apple.com>
> > These vectors with these constants can be generated during 
> > legalization.  But it’s not a big deal and we can do without it. 
> > 
> 
> True..
> 
> > The behavior of shifts by amount larger than the element size is 
defined 
> > for x86 SSE2/AVX2.
> > 
> > Yes, but we are looking at the semantics of the llvm SelectionDAG, 
> > and we want to lower it to x86.  :)
> > 
> > In any case, this is correct and I don’t see any reason not to 
> > commit the patch as is. 
> 
> Thanks.
> Btw. I have no commit access to the repository.
> Could (any of) you please commit this change for me? :-)
> 
> Andrea Di Biagio
> SN Systems - Sony Computer Entertainment Group


**********************************************************************
This email and any files transmitted with it are confidential and intended 
solely for the use of the individual or entity to whom they are addressed. 
If you have received this email in error please notify postmaster at scee.net
This footnote also confirms that this email message has been checked for 
all known viruses.
Sony Computer Entertainment Europe Limited
Registered Office: 10 Great Marlborough Street, London W1F 7LP, United 
Kingdom
Registered in England: 3277793
**********************************************************************

P Please consider the environment before printing this e-mail
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch.diff
Type: application/octet-stream
Size: 14804 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130712/9eb62a14/attachment.obj>


More information about the llvm-commits mailing list