]> git.lizzy.rs Git - rust.git/commit
Don't cache projection if no padding is used.
authorHans Kratz <hans@appfour.com>
Tue, 20 Jul 2021 05:38:00 +0000 (07:38 +0200)
committerHans Kratz <hans@appfour.com>
Wed, 4 Aug 2021 21:36:13 +0000 (23:36 +0200)
commite89908231bede75f2e21959dfd851df85efd25c5
tree6591dc6a88e7bfd7e04f2e80975ce83c9059b477
parente4106581de25d31d94695372b299aa2c8b0bce8e
Don't cache projection if no padding is used.

In this case we can just return memory_index(index) which is readily available.
compiler/rustc_codegen_llvm/src/type_of.rs