Roman Lebedev 5ffe6408ff
[Codegen] If reasonable, materialize clang's AllocAlignAttr as llvm's Alignment Attribute on call-site function return value
Summary:
Much like with the previous patch (D73005) with `AssumeAlignedAttr`
handling, results in mildly more readable IR,
and will improve test coverage in upcoming patch.

Note that in `AllocAlignAttr`'s case, there is no requirement
for that alignment parameter to end up being an I-C-E.

Reviewers: erichkeane, jdoerfert, hfinkel, aaron.ballman, rsmith

Reviewed By: erichkeane

Subscribers: cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D73006
2020-01-23 22:50:49 +03:00
..
2019-08-09 08:52:54 +00:00
2018-02-23 19:30:48 +00:00
2016-04-04 23:14:14 +00:00
2018-04-06 15:14:32 +00:00
2016-02-19 06:54:47 +00:00
2019-10-14 22:44:42 +00:00
2016-06-14 21:02:05 +00:00
2015-11-07 00:48:18 +00:00
2016-04-28 14:13:28 +00:00
2018-02-23 19:30:48 +00:00
2015-09-14 21:27:36 +00:00
2019-03-17 23:16:31 +00:00
2018-02-23 19:30:48 +00:00
2018-03-20 20:42:55 +00:00
2018-02-23 19:30:48 +00:00
2018-02-23 19:30:48 +00:00
2018-02-23 19:30:48 +00:00
2018-02-23 19:30:48 +00:00
2018-03-29 16:35:52 +00:00
2017-04-04 21:18:36 +00:00
2017-03-31 13:48:18 +00:00
2016-04-11 07:48:59 +00:00
2018-05-25 06:34:42 +00:00
2019-05-24 21:49:27 +00:00
2018-02-23 19:30:48 +00:00
2018-02-23 19:30:48 +00:00
2018-02-07 22:15:33 +00:00
2018-02-07 22:15:33 +00:00
2016-05-04 23:37:40 +00:00
2019-07-15 20:02:23 +00:00
2018-02-23 19:30:48 +00:00
2017-08-11 11:03:54 +00:00
2018-02-07 22:15:33 +00:00
2018-02-23 19:30:48 +00:00
2018-02-23 19:30:48 +00:00
2018-02-23 19:30:48 +00:00
2018-02-23 19:30:48 +00:00
2018-02-23 19:30:48 +00:00
2018-02-23 19:30:48 +00:00
2018-02-23 19:30:48 +00:00
2018-02-23 19:30:48 +00:00
2018-02-23 19:30:48 +00:00
2016-05-19 17:47:47 +00:00
2018-02-23 19:30:48 +00:00
2016-06-14 21:02:05 +00:00
2017-05-23 00:35:09 +00:00
2018-04-06 15:14:32 +00:00
2018-02-23 19:30:48 +00:00
2018-08-23 04:09:49 +00:00
2018-02-23 19:30:48 +00:00
2018-02-07 22:15:33 +00:00
2019-08-14 15:35:40 +00:00
2016-06-24 13:11:15 +00:00
2019-09-17 09:53:14 +00:00
2018-02-23 19:30:48 +00:00
2018-02-23 19:30:48 +00:00
2018-12-10 23:02:40 +00:00
2018-02-23 19:30:48 +00:00
2018-02-23 19:30:48 +00:00
2018-02-23 19:30:48 +00:00
2018-02-23 19:30:48 +00:00
2018-02-23 19:30:48 +00:00
2016-06-14 21:02:05 +00:00