[llvm-commits] [llvm] r76300 - in /llvm/trunk: lib/Transforms/Scalar/InstructionCombining.cpp test/Transforms/InstCombine/vec-single-elt.ll

Chris Lattner clattner at apple.com
Sat Jul 18 11:56:07 PDT 2009


On Jul 18, 2009, at 7:49 AM, Dan Gohman wrote:

>
> On Jul 18, 2009, at 2:07 AM, Eli Friedman wrote:
>
>> Author: efriedma
>> Date: Sat Jul 18 04:07:47 2009
>> New Revision: 76300
>>
>> URL: http://llvm.org/viewvc/llvm-project?rev=76300&view=rev
>> Log:
>> Canonicalize insert/extractelement from single-element vectors into
>> bitcasts.
>>
>> It would also be possible to canonicalize the other way; does anyone
>> have a preference?
>
> I prefer extractelemet and insertelement.   Bitcasts between scalar  
> and
> vector are typically unfriendly.

Me too,

-Chris



More information about the llvm-commits mailing list