[llvm-commits] [llvm] r76345 - in /llvm/trunk: lib/Transforms/Scalar/InstructionCombining.cpp test/Transforms/InstCombine/bitcast-vec-canon.ll

Chris Lattner clattner at apple.com
Sun Jul 19 12:53:16 PDT 2009


On Jul 19, 2009, at 12:46 PM, Eli Friedman wrote:

> On Sun, Jul 19, 2009 at 12:42 PM, Chris Lattner<clattner at apple.com>  
> wrote:
>> These interact with the "cast of pointer -> load" -> "load -> cast of
>> value" xforms, likewise with store.  It seems that we'd want to get:
>>
>> insertelement
>> bitcast
>> store
>>
>> and
>>
>> load
>> bitcast
>> extract
>>
>> Does that seem reasonable?
>
> I don't follow the interaction... we could just as equally emit
> load+extract+bitcast, no?

Ok, sure.  I don't have a preference then.

-Chris



More information about the llvm-commits mailing list