The attached patch adds a method to Basic/TargetInfo to return the suitable alignment, above which any object is considered over-aligned. This value is also equal to the amount of alignment you're guaranteed to get out of malloc and equal to alignof(std::max_align_t).<div>

<br></div><div>Please review!</div><div><br></div><div>Nick</div><div><br></div>