mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Replace ``` %s = struct (%0, %1, %2) %c = copy_value %s // can also be a chain of multiple copies (%3, %4, %5) = destructure_struct %c ``` with ``` %c0 = copy_value %0 %c1 = copy_value %1 %c2 = copy_value %2 %s = struct (%0, %1, %2) // keep the original struct ``` and replace the results %3, %4, %5 with %c0, %c1, %c2, respectively.
4.9 KiB
4.9 KiB