Files
swift-mirror/SwiftCompilerSources/Sources/Optimizer/TestPasses/CMakeLists.txt
Erik Eckstein d4d1620f28 Swift SIL: rework Instruction and BasicBlock lists to support deleting instructions during iteration
Replace the generic `List` with the (non-generic) `InstructionList` and `BasicBlockList`.
The `InstructionList` is now a bit different than the `BasicBlockList` because it supports that instructions are deleted while iterating over the list.
Also add a test pass which tests instruction modification while iteration.
2022-12-12 19:08:57 +01:00

19 lines
559 B
CMake

# This source file is part of the Swift.org open source project
#
# Copyright (c) 2014 - 2022 Apple Inc. and the Swift project authors
# Licensed under Apache License v2.0 with Runtime Library Exception
#
# See http://swift.org/LICENSE.txt for license information
# See http://swift.org/CONTRIBUTORS.txt for Swift project authors
swift_compiler_sources(Optimizer
FunctionUsesDumper.swift
AccessDumper.swift
DeadEndBlockDumper.swift
EscapeInfoDumper.swift
SILPrinter.swift
RangeDumper.swift
RunUnitTests.swift
TestInstructionIteration.swift
)