Memory Intrinsics with multiple pointers


Looks like LLVM intrinsic lowering can only handle memory intrinsics that use only 1 pointer to access memory.

There doesn’t seem to be a way to represent the memory operands of an intrinsic that accesses memory through multiple pointers.

Also, The SD node for intrinsics takes inherits its memory handling from mem SD node, which is also limited to 1 pointer argument.

What would be the best way to modify this to support intrinsics with more than 1 pointer?

Is there any work already being done regarding this issue?


Gal Zohar