swift
d6e86b7c
- Add a new SIL pass to move conditions closer to switch_enum to enable jump threading.
Go
Login via GitHub
Home
Pricing
FAQ
Install
Login
via GitHub
Commit
View On
GitHub
Commit
9 years ago
Add a new SIL pass to move conditions closer to switch_enum to enable jump threading. For details see the comment in ConditionForwarding.cpp. This optimization pass helps to optimize loops iterating over closed ranges, e.g. for i in 0...n { }
References
#2398 - Some simplify-cfg opts and ConditionalForwarding
Author
eeckstein
Committer
eeckstein
Parents
b3e81a08
Loading