[NFC] Store Address's alignment into PointerIntPairs
authorArthur Eubanks <aeubanks@google.com>
Fri, 14 Jan 2022 00:30:29 +0000 (16:30 -0800)
committerArthur Eubanks <aeubanks@google.com>
Wed, 26 Jan 2022 18:35:28 +0000 (10:35 -0800)
commitb1613f05ae0ce4efc6b6475ea4459957ebcb0150
tree2d11e38bb3db61de556ed3f05c6022c158547c12
parent092f6ae29276f7b71f24744773fe1fda50d872bb
[NFC] Store Address's alignment into PointerIntPairs

This mitigates the extra memory caused by D115725.

On 32-bit arches where we only have 2 bits per PointerIntPair we fall
back to simply storing alignment separately.

Reviewed By: rnk, nikic

Differential Revision: https://reviews.llvm.org/D117262
clang/lib/CodeGen/Address.h