mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
If the LLVM size of a type doesn't match its stride, or a type's size is dynamic, we can't naively lower index_addr to a GEP of the LLVM pointer. We have to bitcast to i8* and GEP the strided distance in bytes. Fixes <rdar://problem/15609900>. Swift SVN r10972
402 B
402 B