@@ -515,9 +515,6 @@ BUILTIN_SIL_OPERATION(WithUnsafeThrowingContinuation, "withUnsafeThrowingContinu
515515// / Force the current task to be rescheduled on the specified actor.
516516BUILTIN_SIL_OPERATION(HopToActor, " hopToActor" , None)
517517
518- // / Generate a move_value instruction to convert a T to a @_moveOnly T.
519- BUILTIN_SIL_OPERATION(Move, " move" , Special)
520-
521518#undef BUILTIN_SIL_OPERATION
522519
523520// BUILTIN_RUNTIME_CALL - A call into a runtime function.
@@ -780,6 +777,19 @@ BUILTIN_MISC_OPERATION(CreateTaskGroup,
780777BUILTIN_MISC_OPERATION(DestroyTaskGroup,
781778 " destroyTaskGroup" , " " , Special)
782779
780+
781+ // / A builtin that can only be called from a transparent generic function. Takes
782+ // / two operands, the first operand the result address, the second operand the
783+ // / input address. Transforms into load [take] + move_value + store [init] when
784+ // / transparently inlined into a caller that has the generic of the callee
785+ // / specialized into a loadable type. If the transparent inlining does not
786+ // / specialize the type (due to being inlined into a non-generic context, the
787+ // / SILVerifier will abort).
788+ // /
789+ // / Illegal to call except for in Swift._move in the stdlib. This is enforced by
790+ // / the SILVerifier.
791+ BUILTIN_MISC_OPERATION(Move, " move" , " " , Special)
792+
783793// BUILTIN_MISC_OPERATION_WITH_SILGEN - Miscellaneous operations that are
784794// specially emitted during SIL generation.
785795//
0 commit comments