Commit Graph

6 Commits

Author SHA1 Message Date
Meghana Gupta
86b651330b Revert "Merge pull request #69807 from apple/revert-69450-uninarrayfix"
This reverts commit cabb5e109f, reversing
changes made to 09688abb02.
2023-12-06 08:29:50 -08:00
Mishal Shah
e8de333daf Revert "Add a mark_dependence while emitting SIL for uninitialized array allocation " 2023-11-12 09:43:13 -08:00
Meghana Gupta
473905b6b2 Handle mark_dependence in ArrayElementPropagation 2023-10-27 14:19:21 -07:00
Evan Wilde
ad6facb016 Remove undefined ACFUN variable
Thies removes the ACFUN variable from the array_element_propagation and
array_element_propagation_ossa test cases because it isn't defined
anywhere.
2021-08-19 10:11:13 -07:00
Andrew Trick
459271d58b Fix ArrayElementPropagation handling of negative index
Convert an incorrect assert into correct code.

Fixes rdar://80444607 (Swift compiler segfault on “[1][-1]”)
2021-07-13 19:43:47 -07:00
Meghana Gupta
483321c360 Enable ArrayElementValuePropagation on ownership SIL 2020-11-04 11:54:47 -08:00