(original) (raw)
On Feb 1, 2019, at 3:24 PM, Tim Northover <t.p.northover@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.
-Matt