Skip to content

Commit 6159ba8

Browse files
Remove the (unused) SIMDOperators module. (swiftlang#22530)
We originally planned to use this to hide some simd operators from the typechecker unless the user explicitly opted into having them but that scheme turned out to be ill-conceived, so we moved them back into the stdlib. This change simply cleans up the empty vestigial module.
1 parent 5c19427 commit 6159ba8

File tree

4 files changed

+2
-15
lines changed

4 files changed

+2
-15
lines changed

lib/Sema/CSStep.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -556,8 +556,8 @@ bool DisjunctionStep::shortCircuitDisjunctionAt(
556556
if (currentChoice->getKind() == ConstraintKind::CheckedCast)
557557
return true;
558558

559-
// If we have an operator from the SIMDOperators module, and the prior
560-
// choice was not from the SIMDOperators module, we're done.
559+
// If we have a SIMD operator, and the prior choice was not a SIMD
560+
// Operator, we're done.
561561
if (currentChoice->getKind() == ConstraintKind::BindOverload &&
562562
isSIMDOperator(currentChoice->getOverloadChoice().getDecl()) &&
563563
lastSuccessfulChoice->getKind() == ConstraintKind::BindOverload &&

stdlib/public/CMakeLists.txt

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -56,11 +56,6 @@ if(SWIFT_BUILD_STDLIB)
5656
add_subdirectory(stubs)
5757
add_subdirectory(core)
5858
add_subdirectory(SwiftOnoneSupport)
59-
60-
# NOTE(compnerd) this must come after the SwiftOnoneSupport as the current
61-
# cross-compilation support has to hand roll the import library setup which
62-
# requires that the target is setup prior to use.
63-
add_subdirectory(SIMDOperators)
6459
endif()
6560

6661
if(SWIFT_BUILD_STDLIB OR SWIFT_BUILD_REMOTE_MIRROR)

stdlib/public/SIMDOperators/CMakeLists.txt

Lines changed: 0 additions & 7 deletions
This file was deleted.

stdlib/public/SIMDOperators/Operators.swift

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)