commit | 9d34307788056d8be15863697e1b7ec7ec3f204e | [log] [tgz] |
---|---|---|
author | Akira Hatanaka <ahatanaka@apple.com> | Tue Oct 02 01:00:44 2018 +0000 |
committer | Akira Hatanaka <ahatanaka@apple.com> | Tue Oct 02 01:00:44 2018 +0000 |
tree | 75a0ef7efc185a4cc36aa58cd5474b7cc1d2e54a | |
parent | 31fddbac8fa7ca0f18b6781a05346b447a607c4f [diff] |
[CodeGen] Before entering the loop that copies a non-trivial array field of a non-trivial C struct, copy the preceding trivial fields that haven't been copied. This commit fixes a bug where the instructions used to copy the preceding trivial fields were emitted inside the loop body. rdar://problem/44185064 llvm-svn: 343556