[llvm-dev] [RFC] arm64_32: upstreaming ILP32 support for AArch64

Matt Arsenault via llvm-dev llvm-dev at lists.llvm.org
Fri Feb 1 12:35:46 PST 2019

> On Feb 1, 2019, at 3:24 PM, Tim Northover <t.p.northover at gmail.com> wrote:
> The difficulty I'm seeing is that we need GEP to be lowered to i64
> arithmetic, but that happens in SelectionDAGBuilder before the target
> has any real opportunity to override anything. Once the GEP has been
> converted to DAG, the critical information is already gone and we just
> have i32 ADD/MUL trees.

Oh right, you don’t have the addrspace in the input.

I have long wanted a way for targets to take over the GEP expansion which may help you? We’ll need that for non-integral pointer support anyway.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20190201/3026fbeb/attachment.html>

More information about the llvm-dev mailing list