Nikita Popov
304f1d59ca
[IR] Switch everything to use memory attribute
...
This switches everything to use the memory attribute proposed in
https://discourse.llvm.org/t/rfc-unify-memory-effect-attributes/65579 .
The old argmemonly, inaccessiblememonly and inaccessiblemem_or_argmemonly
attributes are dropped. The readnone, readonly and writeonly attributes
are restricted to parameters only.
The old attributes are auto-upgraded both in bitcode and IR.
The bitcode upgrade is a policy requirement that has to be retained
indefinitely. The IR upgrade is mainly there so it's not necessary
to update all tests using memory attributes in this patch, which
is already large enough. We could drop that part after migrating
tests, or retain it longer term, to make it easier to import IR
from older LLVM versions.
High-level Function/CallBase APIs like doesNotAccessMemory() or
setDoesNotAccessMemory() are mapped transparently to the memory
attribute. Code that directly manipulates attributes (e.g. via
AttributeList) on the other hand needs to switch to working with
the memory attribute instead.
Differential Revision: https://reviews.llvm.org/D135780
2022-11-04 10:21:38 +01:00
..
2022-02-24 15:30:13 -05:00
2011-08-20 00:37:56 +00:00
2022-02-16 16:10:37 -05:00
2022-02-16 16:10:37 -05:00
2022-04-07 12:09:47 +02:00
2022-04-07 12:09:47 +02:00
2022-04-07 12:09:47 +02:00
2022-04-07 12:09:47 +02:00
2022-04-07 12:09:47 +02:00
2022-04-07 12:09:47 +02:00
2022-04-07 12:09:47 +02:00
2022-02-16 16:10:37 -05:00
2022-02-16 16:10:37 -05:00
2022-02-16 16:10:37 -05:00
2022-02-16 16:10:37 -05:00
2022-04-07 12:09:47 +02:00
2022-04-07 12:09:47 +02:00
2022-04-07 12:09:47 +02:00
2022-04-07 12:09:47 +02:00
2022-04-07 12:09:47 +02:00
2022-04-07 12:09:47 +02:00
2022-04-07 12:09:47 +02:00
2022-02-16 16:10:37 -05:00
2022-04-07 12:09:47 +02:00
2022-04-07 12:09:47 +02:00
2022-04-07 12:09:47 +02:00
2022-04-07 12:09:47 +02:00
2022-04-07 12:09:47 +02:00
2022-02-16 16:10:37 -05:00
2022-04-07 12:09:47 +02:00
2022-04-07 12:09:47 +02:00
2022-04-07 12:09:47 +02:00
2022-04-07 12:09:47 +02:00
2022-04-07 12:09:47 +02:00
2022-04-07 12:09:47 +02:00
2020-12-09 13:13:58 -08:00
2022-04-07 12:09:47 +02:00
2022-04-07 12:09:47 +02:00
2022-04-07 12:09:47 +02:00
2022-06-17 17:28:00 -07:00
2020-12-31 00:27:11 -08:00
2022-04-07 12:09:47 +02:00
2022-09-02 12:36:44 -07:00
2017-07-17 20:05:56 +00:00
2022-09-02 12:36:44 -07:00
2012-11-01 23:55:47 +00:00
2022-04-07 12:09:47 +02:00
2022-04-07 12:09:47 +02:00
2022-04-07 12:09:47 +02:00
2022-02-16 16:10:37 -05:00
2009-12-15 22:01:24 +00:00
2022-04-07 12:09:47 +02:00
2022-04-07 12:09:47 +02:00
2022-02-16 16:10:37 -05:00
2022-02-16 16:10:37 -05:00
2022-09-02 12:36:44 -07:00
2012-07-03 20:49:52 +00:00
2022-04-07 12:09:47 +02:00
2012-07-03 20:49:52 +00:00
2022-04-07 12:09:47 +02:00
2022-02-16 16:10:37 -05:00
2022-04-07 12:09:47 +02:00
2022-04-07 12:09:47 +02:00
2022-07-22 15:24:54 -04:00
2022-02-16 16:10:37 -05:00
2022-04-07 12:09:47 +02:00
2022-04-07 12:09:47 +02:00
2022-02-16 16:10:37 -05:00
2022-02-16 16:10:37 -05:00
2022-02-16 16:10:37 -05:00
2015-10-08 04:24:12 +00:00
2022-04-07 12:09:47 +02:00
2022-04-07 12:09:47 +02:00
2022-04-07 12:09:47 +02:00
2022-04-07 12:09:47 +02:00
2022-04-20 11:30:12 -04:00
2022-02-16 16:10:37 -05:00
2021-11-12 16:21:21 -08:00
2012-06-20 06:18:46 +00:00
2022-04-07 12:09:47 +02:00
2022-11-04 10:21:38 +01:00
2009-12-15 20:14:24 +00:00
2013-02-12 05:53:35 +00:00
2016-09-18 16:12:14 +00:00
2022-04-07 12:09:47 +02:00
2022-04-07 12:09:47 +02:00
2011-10-02 01:16:38 +00:00
2022-02-16 16:10:37 -05:00
2022-04-07 12:09:47 +02:00
2009-12-15 20:14:24 +00:00
2022-04-07 12:09:47 +02:00
2012-06-20 06:18:46 +00:00
2021-11-22 14:02:54 -06:00
2022-04-07 12:09:47 +02:00
2022-02-16 16:10:37 -05:00
2022-04-07 12:09:47 +02:00
2018-11-28 21:18:07 +00:00
2020-03-31 22:33:55 -07:00
2020-03-31 22:33:55 -07:00
2020-03-31 22:33:55 -07:00
2015-10-08 04:24:12 +00:00
2015-10-08 04:24:12 +00:00
2022-04-07 12:09:47 +02:00
2019-12-17 09:40:36 +01:00
2015-04-29 16:40:08 +00:00
2022-04-07 12:09:47 +02:00
2022-02-16 16:10:37 -05:00
2015-10-08 04:24:12 +00:00
2022-02-16 16:10:37 -05:00
2016-10-20 00:13:19 +00:00
2016-10-20 00:13:19 +00:00
2022-04-07 12:09:47 +02:00
2016-06-16 00:42:36 +00:00
2022-04-07 12:09:47 +02:00
2020-03-31 22:33:55 -07:00
2015-10-08 04:24:12 +00:00
2020-03-31 22:33:55 -07:00
2020-03-31 22:33:55 -07:00
2022-02-16 16:10:37 -05:00
2021-03-30 11:07:16 +02:00
2020-03-31 22:33:55 -07:00
2015-10-08 04:24:12 +00:00
2015-10-08 04:24:12 +00:00
2015-10-08 04:24:12 +00:00
2019-11-08 08:23:22 -08:00
2015-10-08 04:24:12 +00:00
2022-02-16 16:10:37 -05:00
2019-11-08 08:23:22 -08:00
2013-06-11 21:48:11 +00:00
2022-04-07 12:09:47 +02:00
2022-10-11 21:15:53 -07:00
2020-01-23 22:39:47 -08:00
2022-04-07 12:09:47 +02:00
2022-04-07 12:09:47 +02:00
2022-02-16 16:10:37 -05:00
2022-02-16 16:10:37 -05:00
2010-06-07 22:02:01 +00:00
2022-02-16 16:10:37 -05:00
2022-02-16 16:10:37 -05:00
2016-09-18 16:12:14 +00:00
2022-04-07 12:09:47 +02:00
2022-02-16 16:10:37 -05:00
2022-02-16 16:10:37 -05:00
2022-04-07 12:09:47 +02:00
2022-04-07 12:09:47 +02:00
2022-01-28 08:38:01 -05:00
2022-04-07 12:09:47 +02:00
2022-09-02 12:36:44 -07:00
2022-02-16 16:10:37 -05:00
2022-07-05 16:57:46 +02:00
2022-02-16 16:10:37 -05:00
2022-04-07 12:09:47 +02:00
2022-04-07 12:09:47 +02:00
2022-04-07 12:09:47 +02:00
2011-12-20 15:50:13 +00:00
2011-05-27 01:19:52 +00:00
2018-08-17 22:18:08 +00:00
2022-04-07 12:09:47 +02:00
2022-04-07 12:09:47 +02:00
2022-04-07 12:09:47 +02:00
2022-04-07 12:09:47 +02:00
2011-02-22 01:23:29 +00:00
2022-04-07 12:09:47 +02:00
2022-04-07 12:09:47 +02:00
2022-04-07 12:09:47 +02:00
2022-04-07 12:09:47 +02:00
2022-04-07 12:09:47 +02:00
2022-04-07 12:09:47 +02:00
2022-04-07 12:09:47 +02:00
2022-04-07 12:09:47 +02:00
2022-04-07 12:09:47 +02:00
2022-04-07 12:09:47 +02:00
2022-04-07 12:09:47 +02:00
2022-04-07 12:09:47 +02:00
2022-04-07 12:09:47 +02:00
2022-07-24 13:59:45 +01:00
2022-04-07 12:09:47 +02:00
2022-09-02 12:36:44 -07:00
2009-12-15 20:14:24 +00:00
2022-04-07 12:09:47 +02:00
2019-05-06 03:30:09 +00:00
2020-03-11 13:26:06 -07:00
2022-04-20 11:30:12 -04:00
2009-12-15 20:14:24 +00:00
2022-02-16 16:10:37 -05:00
2022-04-07 12:09:47 +02:00
2019-05-09 17:43:52 +00:00
2022-02-24 15:30:13 -05:00
2022-04-07 12:09:47 +02:00
2022-04-07 12:09:47 +02:00
2015-05-12 16:48:43 +00:00
2017-10-27 00:56:23 +00:00
2022-02-16 16:10:37 -05:00
2022-02-16 16:10:37 -05:00
2021-09-16 14:04:42 -04:00
2022-04-07 12:09:47 +02:00
2022-04-07 12:09:47 +02:00
2022-04-07 12:09:47 +02:00
2022-04-07 12:09:47 +02:00
2022-04-07 12:09:47 +02:00
2022-04-07 12:09:47 +02:00
2022-09-02 12:36:44 -07:00
2022-04-07 12:09:47 +02:00
2022-02-16 16:10:37 -05:00
2022-04-07 12:09:47 +02:00
2022-04-07 12:09:47 +02:00
2022-04-07 12:09:47 +02:00
2022-02-16 16:10:37 -05:00
2022-02-16 16:10:37 -05:00
2022-04-07 12:09:47 +02:00
2022-04-07 12:09:47 +02:00
2022-02-16 16:10:37 -05:00
2022-04-07 12:09:47 +02:00
2021-11-12 16:21:21 -08:00
2022-05-26 11:37:19 +01:00
2022-04-07 12:09:47 +02:00
2022-04-07 12:09:47 +02:00
2022-10-14 10:40:24 -07:00
2022-04-07 12:09:47 +02:00
2022-04-07 12:09:47 +02:00
2022-04-07 12:09:47 +02:00
2022-02-16 16:10:37 -05:00
2022-04-07 12:09:47 +02:00
2022-04-07 12:09:47 +02:00
2022-04-07 12:09:47 +02:00
2022-04-07 12:09:47 +02:00
2022-04-07 12:09:47 +02:00
2022-04-07 12:09:47 +02:00
2022-04-07 12:09:47 +02:00
2016-12-19 02:55:53 +00:00
2022-02-16 16:10:37 -05:00
2022-04-07 12:09:47 +02:00
2022-02-16 16:10:37 -05:00
2009-12-15 20:14:24 +00:00
2009-12-15 20:14:24 +00:00
2022-04-07 12:09:47 +02:00
2012-06-20 06:18:46 +00:00
2022-04-07 12:09:47 +02:00
2022-02-16 16:10:37 -05:00
2022-04-07 12:09:47 +02:00
2022-02-16 16:10:37 -05:00
2022-02-16 16:10:37 -05:00
2015-10-08 04:24:12 +00:00
2012-06-20 06:18:46 +00:00
2012-06-20 06:18:46 +00:00
2022-02-16 16:10:37 -05:00
2022-04-07 12:53:29 +02:00
2014-11-06 13:30:38 +00:00
2022-04-07 12:09:47 +02:00
2022-04-07 12:09:47 +02:00
2022-04-07 12:09:47 +02:00
2022-02-16 16:10:37 -05:00
2022-04-07 12:09:47 +02:00
2022-02-16 16:10:37 -05:00
2022-02-16 16:10:37 -05:00
2022-04-07 12:09:47 +02:00
2022-02-16 16:10:37 -05:00
2022-04-07 12:09:47 +02:00
2022-04-07 12:09:47 +02:00
2022-02-16 16:10:37 -05:00
2022-04-07 12:09:47 +02:00
2022-04-07 12:09:47 +02:00
2022-04-07 12:09:47 +02:00
2022-02-16 16:10:37 -05:00
2022-04-07 12:09:47 +02:00
2022-04-07 12:09:47 +02:00
2014-12-05 01:06:59 +00:00
2012-12-17 18:54:24 +00:00
2022-04-07 12:09:47 +02:00
2014-01-14 19:35:09 +00:00
2022-04-07 12:09:47 +02:00
2022-04-07 12:09:47 +02:00
2022-04-07 12:09:47 +02:00
2022-04-07 12:09:47 +02:00
2012-06-20 06:18:46 +00:00
2019-05-09 17:43:52 +00:00
2012-10-16 15:11:55 +00:00
2022-02-16 16:10:37 -05:00
2022-04-07 12:09:47 +02:00
2022-04-07 12:09:47 +02:00
2022-04-20 11:30:12 -04:00
2022-02-16 16:10:37 -05:00
2022-02-16 16:10:37 -05:00
2022-04-07 12:09:47 +02:00
2013-12-18 23:09:57 +00:00
2022-04-07 12:09:47 +02:00
2022-04-07 12:09:47 +02:00
2019-09-27 05:37:06 +00:00
2021-07-15 15:05:08 +01:00
2022-04-07 12:09:47 +02:00
2022-02-16 16:10:37 -05:00
2022-04-07 12:09:47 +02:00
2022-04-07 12:09:47 +02:00
2022-04-07 12:09:47 +02:00
2022-04-07 12:09:47 +02:00
2022-04-11 12:08:29 +02:00
2020-03-09 15:40:24 -07:00
2022-04-07 12:09:47 +02:00
2011-10-02 01:16:38 +00:00
2011-10-02 01:16:38 +00:00
2022-04-07 12:09:47 +02:00
2022-04-07 12:09:47 +02:00
2022-04-07 12:09:47 +02:00
2022-02-16 16:10:37 -05:00
2022-04-07 12:09:47 +02:00
2009-12-15 20:14:24 +00:00
2022-02-16 16:10:37 -05:00
2022-04-07 12:09:47 +02:00
2022-04-07 12:09:47 +02:00
2022-04-07 12:09:47 +02:00
2022-04-07 12:09:47 +02:00
2022-04-07 12:09:47 +02:00
2022-04-07 12:09:47 +02:00
2013-12-04 03:41:33 +00:00
2022-07-18 12:45:52 +02:00
2022-04-07 12:09:47 +02:00
2022-04-07 12:09:47 +02:00
2022-04-07 12:09:47 +02:00
2022-04-07 12:09:47 +02:00
2022-04-07 12:09:47 +02:00
2019-03-14 15:17:37 +00:00
2012-09-12 14:26:42 +00:00
2012-10-15 22:23:53 +00:00
2022-02-16 16:10:37 -05:00
2022-04-07 12:09:47 +02:00
2022-04-07 12:09:47 +02:00
2022-02-16 16:10:37 -05:00
2022-04-07 12:09:47 +02:00