Commits

Erik Eckstein committed 6cfb3716bf6
A new SIL pass for static analysis of array properties. The GlobalPropertyOpt pass performs a static analysis over the whole module. If it can prove that an array property call (_getArrayPropertyIsNativeNoTypeCheck) always yiels true, then it replaces the call with a literal-true. The pass runs on the high-level SIL using the array semantics calls. Currently it only handles the isNativeNoTypeCheck array property, but in future it might handle additinal properties (therefore I chose this general name for it). It gives +24% on DeltaBlue. Swift SVN r27361