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

Eli Friedman eli.friedman at gmail.com
Sun Jul 19 12:46:59 PDT 2009


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?

-Eli




More information about the llvm-commits mailing list