OSDN Git Service

[CodeGenPrepare] Respect endianness in splitMergedValStore.
authorJonas Paulsson <paulsson@linux.vnet.ibm.com>
Tue, 13 Mar 2018 08:36:20 +0000 (08:36 +0000)
committerJonas Paulsson <paulsson@linux.vnet.ibm.com>
Tue, 13 Mar 2018 08:36:20 +0000 (08:36 +0000)
commite7b0e8d685fdca3ab3feb8fc794d1797f9ef8b93
tree825c8e61b21957248f1605d282c3140661db194b
parent4f23838f56163df5291503f18c84a579961c313f
[CodeGenPrepare]  Respect endianness in splitMergedValStore.

splitMergedValStore will split a store into two if target prefers this, or if
-force-split-store is passed.

This patch adds the missing handling for endianness in this function along
with a test case.

Review: Eli Friedman
https://reviews.llvm.org/D44396

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@327375 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CodeGenPrepare.cpp
test/CodeGen/SystemZ/codegenprepare-splitstore.ll [new file with mode: 0644]