Commit 6226fa7
committed
[MemAccessUtils] Regard end/abort_apply as use.
Unique storage use visitor was not previously considering end_apply and
abort_apply as uses of an address even when the begin_apply took that
address as an argument. They are uses of it though because the address
may be stored into the coroutine's frame and used when the second
partial function is invoked.1 parent e134ad7 commit 6226fa7
File tree
2 files changed
+48
-3
lines changed- lib/SIL/Utils
- test/SILOptimizer
2 files changed
+48
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1948 | 1948 | | |
1949 | 1949 | | |
1950 | 1950 | | |
| 1951 | + | |
| 1952 | + | |
| 1953 | + | |
| 1954 | + | |
| 1955 | + | |
| 1956 | + | |
| 1957 | + | |
| 1958 | + | |
| 1959 | + | |
| 1960 | + | |
| 1961 | + | |
| 1962 | + | |
| 1963 | + | |
| 1964 | + | |
| 1965 | + | |
| 1966 | + | |
| 1967 | + | |
| 1968 | + | |
| 1969 | + | |
| 1970 | + | |
| 1971 | + | |
| 1972 | + | |
| 1973 | + | |
1951 | 1974 | | |
1952 | 1975 | | |
1953 | 1976 | | |
| |||
1960 | 1983 | | |
1961 | 1984 | | |
1962 | 1985 | | |
1963 | | - | |
| 1986 | + | |
| 1987 | + | |
1964 | 1988 | | |
1965 | 1989 | | |
1966 | 1990 | | |
1967 | | - | |
| 1991 | + | |
| 1992 | + | |
1968 | 1993 | | |
1969 | 1994 | | |
1970 | 1995 | | |
1971 | 1996 | | |
1972 | | - | |
| 1997 | + | |
| 1998 | + | |
1973 | 1999 | | |
1974 | 2000 | | |
1975 | 2001 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
| 62 | + | |
62 | 63 | | |
63 | 64 | | |
64 | 65 | | |
| |||
346 | 347 | | |
347 | 348 | | |
348 | 349 | | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
349 | 368 | | |
350 | 369 | | |
351 | 370 | | |
| |||
0 commit comments