[PATCH] D99240: [ConstantFolding] Look through local aliases when simplify GEPs

Arthur Eubanks via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 25 10:56:21 PDT 2021


aeubanks added a comment.

In D99240#2650972 <https://reviews.llvm.org/D99240#2650972>, @nikic wrote:

> I would expect those internal aliases to be replaced by the aliasee in the first place -- is the problem that this happens too late?

Which pass does this?

The original snippet had a GEP of an alias which itself is another GEP into a global.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D99240



More information about the llvm-commits mailing list