Skip to content
Commit 9d343077 authored by Akira Hatanaka's avatar Akira Hatanaka
Browse files

[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
parent 31fddbac
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment