Nit: mlir uses camelBack (not capitalizing first letter) for function names.
Nit: elide trivial braces
Nit: cache this in a variable to get better formatting
Hmm, I am not sure that the memory space is the same for both pointers. I know we can't specify more than one, but I seem to recall that the descriptor used to live in the default namespace.
This is not zero unless the memory space is also zero.
Nit: mlir uses camelBack for variable names
We shouldn't need a GEP if the argument is actually always zero.
I would prefer a unit test for lowering to and integration test.