Page MenuHomePhabricator

[CodeGenPrepare] Respect endianness in splitMergedValStore.
ClosedPublic

Authored by jonpa on Mar 12 2018, 10:12 AM.

Details

Summary

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

There is currently no check for endianness when this is done, which results in wrong code. This patch adds handling for this along with a test case.

Diff Detail

Event Timeline

jonpa created this revision.Mar 12 2018, 10:12 AM
This revision is now accepted and ready to land.Mar 12 2018, 10:45 AM
jonpa closed this revision.Mar 13 2018, 1:40 AM

r327375.