mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[embedded] Add thick->thin conversion SIL tests in simplify_buildin.sil
This commit is contained in:
@@ -11,7 +11,6 @@ struct MyStruct {
|
||||
}
|
||||
|
||||
public func foo(x: Builtin.RawPointer, y: Builtin.RawPointer, count: Builtin.Word) {
|
||||
Builtin.copyArray(MyStruct.self, x, y, count)
|
||||
Builtin.copyArray(MyStruct.self, x, y, count)
|
||||
Builtin.takeArrayNoAlias(MyStruct.self, x, y, count)
|
||||
Builtin.takeArrayFrontToBack(MyStruct.self, x, y, count)
|
||||
@@ -30,7 +29,6 @@ public func bar(x: Builtin.RawPointer, y: Builtin.RawPointer, count: Builtin.Wor
|
||||
|
||||
public struct MyGenericStruct<T> {
|
||||
public func foo(x: Builtin.RawPointer, y: Builtin.RawPointer, count: Builtin.Word) {
|
||||
Builtin.copyArray(T.self, x, y, count)
|
||||
Builtin.copyArray(T.self, x, y, count)
|
||||
Builtin.takeArrayNoAlias(T.self, x, y, count)
|
||||
Builtin.takeArrayFrontToBack(T.self, x, y, count)
|
||||
|
||||
Reference in New Issue
Block a user