We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b5cc412 commit 9d1ca61Copy full SHA for 9d1ca61
test/stdlib/UnsafeRawPointer.swift
@@ -134,7 +134,7 @@ UnsafeMutableRawPointerExtraTestSuite.test("load.unaligned.SIMD")
134
135
offset = 11
136
let vector32 = bytes.withUnsafeMutableBytes { buffer -> SIMD32<UInt8> in
137
- let aligned = buffer.baseAddress!.alignedUp(for: SIMD16<UInt8>.self)
+ let aligned = buffer.baseAddress!.alignedUp(for: SIMD32<UInt8>.self)
138
offset += buffer.baseAddress!.distance(to: aligned)
139
return buffer.loadUnaligned(fromByteOffset: offset, as: SIMD32<UInt8>.self)
140
}
0 commit comments