Gal Zohar via llvm-dev
2020-Mar-18 12:50 UTC
[llvm-dev] Memory Intrinsics with multiple pointers
Hi, 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? Thanks, Gal Zohar -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20200318/a02f66df/attachment.html>
David Meir Castiel via llvm-dev
2020-Mar-18 13:00 UTC
[llvm-dev] Memory Intrinsics with multiple pointers
+Luke From: Gal Zohar <Gal.Zohar at ceva-dsp.com> Sent: Wednesday, March 18, 2020 14:51 To: llvm-dev <llvm-dev at lists.llvm.org> Cc: David Meir Castiel <DavidMeir.Castiel at ceva-dsp.com>; Fraser Cormack Contact <fraser at codeplay.com> Subject: Memory Intrinsics with multiple pointers Hi, 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? Thanks, Gal Zohar -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20200318/c8e6e6a2/attachment.html>