[PATCH] Teach instcombine to canonicalize "element extraction" from a load of an integer and "element insertion" into a store of an integer into actual element extraction, element insertion, and vector loads and stores.

Chandler Carruth chandlerc at gmail.com
Fri Dec 5 05:50:16 PST 2014


Fix a somewhat obvious goof with endianness and a bunch of formatting badness
that drifted into the patch.

Update the test case to be much more precise about what it checks and to
enforce that we get endianness correct now.

http://reviews.llvm.org/D6548

Files:
  lib/Transforms/InstCombine/InstCombineLoadStoreAlloca.cpp
  test/Transforms/InstCombine/loadstore-vector.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D6548.16984.patch
Type: text/x-patch
Size: 24356 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20141205/9f78cf36/attachment.bin>


More information about the llvm-commits mailing list