Commit Graph

7 Commits

Author SHA1 Message Date
Erik Eckstein
c4a11f4c92 tests: remove the now unused option -new-mangling-for-tests 2017-03-22 11:28:43 -07:00
Erik Eckstein
1d3724666f tests: convert about 400 tests to the new mangling by using the -new-mangling-for-tests option
When the new mangling is enabled permanently, the option can be removed from the RUN command lines again.
2017-01-24 15:27:45 -08:00
Dmitri Gribenko
d175b3b66d Migrate FileCheck to %FileCheck in tests 2016-08-10 23:52:02 -07:00
Bob Wilson
eac6456054 debug_value instructions should not block analysis of static initializers.
The analyzeStaticInitializer function has a list of specific SIL
instructions that it expects to see in static initializers. Anything
unexpected blocks the analysis and inhibits optimizations, such as
propagating global let variables. Add debug_value instructions to that
list so that they do not inhibit optimizations. rdar://problem/26411312
2016-05-26 22:10:37 -07:00
Roman Levenstein
696aad7582 [sil-global-opt] Teach GlobalOpt to handle alloc_global
Global let propagation works again with this change. The corresponding test-case is enabled again.

rdar://24229640
2016-01-20 16:33:58 -08:00
Erik Eckstein
6964301977 Temporarily disable the test for global let propagation until GlobalOpt can deal with alloc_global. 2016-01-18 09:11:55 -08:00
Andrew Trick
bd35b4789c Move test/SILOptimizer files to reflect lib/SILOptimizer. 2015-12-11 15:53:22 -08:00