[PATCH] D73131: [IR] Value::getPointerAlignment(): handle pointer constants

Mikhail Lychkov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 6 05:32:07 PST 2020


mlychkov added a comment.

In D73131#1861595 <https://reviews.llvm.org/D73131#1861595>, @mlychkov wrote:

> ...
>  Is this alignment accounting intended to be used for getelementptr instructions too?
>  If yes then may we cleanup extra user after we get TrailingZeros value?


Or is there a way to perform this computation without const_cast?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D73131/new/

https://reviews.llvm.org/D73131





More information about the llvm-commits mailing list