mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
This enables array value propagation in array literal loops like:
for e in [2,3,4] {
r += e
}
Allowing us to completely get rid of the array.
rdar://19958821
SR-203
8 lines
208 B
CMake
8 lines
208 B
CMake
set(LOOPTRANSFORMS_SOURCES
|
|
LoopTransforms/ArrayBoundsCheckOpts.cpp
|
|
LoopTransforms/COWArrayOpt.cpp
|
|
LoopTransforms/LoopRotate.cpp
|
|
LoopTransforms/LoopUnroll.cpp
|
|
LoopTransforms/LICM.cpp
|
|
PARENT_SCOPE)
|