[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:26:00 PDT 2021
aeubanks added a comment.
In D99240#2649468 <https://reviews.llvm.org/D99240#2649468>, @erichkeane wrote:
> So I guess I don't understand what this does differently than stripPointerCastsAndAliases? Is limiting this to local aliases that important?
I initially tried using stripPointerCastsAndAliases(), but gep-alias.ll failed because it was specifically checking that we don't look through non-local aliases. The original comments in the test explain it better.
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