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
..
2020-12-08 15:36:47 +00:00
2021-04-13 09:48:13 +08:00
2020-10-15 17:14:55 -04:00
2021-02-15 14:27:12 +08:00
2020-11-26 12:06:44 +00:00
2021-05-24 12:09:02 -07:00
2020-12-08 15:36:47 +00:00
2021-02-21 21:25:26 +00:00
2020-12-08 10:28:26 +00:00
2021-04-23 14:51:42 +01:00