Philip Reames
e75a2dfe20
[tests] Stablize tests for possible change in deref semantics
...
There's a potential change in dereferenceability attribute semantics in the nearish future. See llvm-dev thread "RFC: Decomposing deref(N) into deref(N) + nofree" and D99100 for context.
This change simply adds appropriate attributes to tests to keep transform logic exercised under both old and new/proposed semantics. Note that for many of these cases, O3 would infer exactly these attributes on the test IR.
This change handles the idiomatic pattern of a dereferenceable object being passed to a call which can not free that memory. There's a couple other tests which need more one-off attention, they'll be handled in another change.
2021-07-14 13:05:43 -07:00
..
2021-07-14 13:05:43 -07:00
2020-06-26 20:28:18 -07:00
2020-06-26 20:28:18 -07:00
2020-06-26 20:28:18 -07:00
2020-06-26 20:28:18 -07:00
2020-06-26 20:28:18 -07:00
2020-11-20 17:58:26 -05:00
2020-06-26 20:28:18 -07:00
2020-06-26 20:28:18 -07:00
2020-06-26 20:28:18 -07:00
2020-12-24 11:46:17 +09:00
2020-06-26 20:28:18 -07:00
2020-09-17 21:34:44 +02:00
2020-06-26 20:28:18 -07:00
2021-04-06 17:00:21 +01:00
2020-06-26 20:28:18 -07:00
2020-06-26 20:28:18 -07:00
2020-06-26 20:28:18 -07:00
2020-09-03 10:14:53 -04:00
2021-05-24 19:43:40 +02:00
2020-06-26 20:28:18 -07:00
2021-03-31 19:15:28 +07:00
2020-12-24 11:46:17 +09:00
2020-07-24 17:37:09 +01:00
2020-06-26 20:55:44 -07:00
2021-01-25 11:23:44 -08:00
2020-06-12 11:47:13 +01:00
2020-06-26 20:28:18 -07:00
2020-06-26 20:28:18 -07:00
2021-03-16 10:59:31 -07:00
2020-05-15 12:26:58 -07:00
2020-06-26 20:28:18 -07:00
2020-06-26 20:28:18 -07:00
2021-03-06 23:46:24 +01:00
2021-07-14 13:05:43 -07:00
2020-11-08 13:36:42 +00:00
2020-06-26 20:28:18 -07:00
2020-09-10 10:57:33 -05:00
2020-09-08 19:08:44 -05:00
2020-06-26 20:28:18 -07:00
2020-12-03 09:23:37 -08:00
2021-03-21 17:48:21 +01:00
2021-03-21 17:48:21 +01:00
2020-06-26 20:28:18 -07:00
2020-06-26 20:28:18 -07:00
2020-06-26 20:28:18 -07:00
2021-05-17 21:51:15 -07:00
2021-05-17 21:51:15 -07:00
2020-06-26 20:28:18 -07:00
2021-03-08 08:59:00 -08:00
2020-06-26 20:28:18 -07:00
2020-06-26 20:55:44 -07:00
2020-11-20 14:00:46 -05:00
2020-06-26 20:28:18 -07:00
2021-05-24 19:43:40 +02:00
2021-05-24 19:43:40 +02:00
2020-06-17 09:36:53 +01:00
2021-04-06 10:13:42 -07:00
2020-06-26 20:28:18 -07:00
2020-10-30 11:24:40 -04:00
2020-09-22 17:54:25 -07:00
2020-12-29 18:22:12 +00:00
2020-06-26 20:28:18 -07:00
2020-06-26 20:28:18 -07:00
2020-06-26 20:28:18 -07:00
2021-04-08 14:01:57 -07:00
2021-03-09 19:03:39 -05:00
2020-06-26 20:28:18 -07:00
2020-06-26 20:28:18 -07:00