Files
swift-mirror/lib/SILOptimizer/LoopTransforms/CMakeLists.txt
Arnold Schwaighofer edf9ca06fc Unroll loops with known short trip count
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
2015-12-14 12:03:42 -08:00

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)