[PATCH] D140302: [GlobalISel] [AArch64] Fold G_PTRTOINT(G_CONSTANT)

Jessica Paquette via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 21 14:29:35 PST 2022


paquette added a comment.

In D140302#4004963 <https://reviews.llvm.org/D140302#4004963>, @andcarminati wrote:

> In D140302#4004906 <https://reviews.llvm.org/D140302#4004906>, @arsenm wrote:
>
>> Where are these coming from? I thought we directly emitted pointer constants now?
>
> Well, we have this folding implemented in our development branch (custom target) and we think it is interesting for AArch64 too.

How much of a code size improvement did you see with this change?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D140302



More information about the llvm-commits mailing list