diff options
author | Arnold Schwaighofer <aschwaighofer@apple.com> | 2013-04-02 15:58:51 +0000 |
---|---|---|
committer | Arnold Schwaighofer <aschwaighofer@apple.com> | 2013-04-02 15:58:51 +0000 |
commit | e737018a86fa3da37f74ec1757603f933efcf5aa (patch) | |
tree | a71f4b636ede2250de338224c34f5cf44dcfc0b3 /lib/Support/DataExtractor.cpp | |
parent | e97f84e991f64640cc60bf5a5b20071845b08429 (diff) |
DAGCombiner: Merge store/loads when we have extload/truncstores
This is helps on architectures where i8,i16 are not legal but we have byte, and
short loads/stores. Allowing us to merge copies like the one below on ARM.
copy(char *a, char *b, int n) {
do {
int t0 = a[0];
int t1 = a[1];
b[0] = t0;
b[1] = t1;
radar://13536387
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@178546 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Support/DataExtractor.cpp')
0 files changed, 0 insertions, 0 deletions