Update InstCombine to transform aggregate stores into scalar stores.
authorMehdi Amini <mehdi.amini@apple.com>
Sat, 14 Mar 2015 22:19:33 +0000 (22:19 +0000)
committerMehdi Amini <mehdi.amini@apple.com>
Sat, 14 Mar 2015 22:19:33 +0000 (22:19 +0000)
commit3af5418aa47909c6d09ffce82f34a84375fe6ede
tree113ee6fd9fb38a921c58c70f68b2c3ee7b1cc438
parent18233dc59656e20b9e08af2914d454b185dccb1a
Update InstCombine to transform aggregate stores into scalar stores.

Summary: This is a first step toward getting proper support for aggregate loads and stores.

Test Plan: Added unittests

Reviewers: reames, chandlerc

Reviewed By: chandlerc

Subscribers: majnemer, joker.eph, chandlerc, llvm-commits

Differential Revision: http://reviews.llvm.org/D7780

Patch by Amaury Sechet

From: Mehdi Amini <mehdi.amini@apple.com>

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@232284 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/InstCombine/InstCombineLoadStoreAlloca.cpp
test/Transforms/InstCombine/unpack-fca.ll [new file with mode: 0644]