Files
swift-mirror/lib/SILOptimizer/Transforms/SimplifyCFG.cpp
Erik Eckstein e3ae6f29b6 SimplifyCFG: improve jump threading for switch_enum
1) to find a threading candidate for a branch instruction, look through multiple successor blocks and not only in the immediate successor
2) handle SSA-cycles when getting the case for an enum value
2017-04-27 09:06:55 -07:00

120 KiB