rust/src/librustc_trans
Eduard-Mihai Burtescu 5c0b4b3691 Rollup merge of #39995 - Aatch:vtable-ptr-metadata, r=arielb1
Set metadata for vtable-related loads

Give LLVM much more information about vtable pointers. Without the extra
information, LLVM has to be rather pessimistic about vtables, preventing
a number of obvious optimisations.

* Makes the vtable pointer argument noalias and readonly.
* Marks loads of the vtable pointer as nonnull.
* Marks load from the vtable with `!invariant.load` metadata.

Fixes #39992
2017-02-25 14:13:28 +02:00
..
2017-02-21 21:08:06 +13:00
2017-02-10 19:47:09 +02:00
2017-02-21 21:08:06 +13:00
2017-02-10 17:31:04 +00:00
2017-02-08 18:51:43 -05:00
2017-02-10 19:38:36 +02:00
2017-02-21 21:08:06 +13:00
2017-02-08 22:23:21 +01:00
2017-02-10 17:31:04 +00:00
2017-02-21 21:08:06 +13:00
2017-02-03 18:48:15 +08:00
2017-02-03 18:48:15 +08:00