Hi, I have recently been learning how LLVM implements memory64 proposals, what changes have been made to LLVM related instructions for wasm64 targets? In addition to the instructions, are there any other parts changed? Or help me point out the corresponding branch and pull request or issues on the LLVM github project, thank you.
Here’s a list of related commits: Commit search results · GitHub.
At a high level, there is the wasm64 in the target triple, which tells clang to emit a different data layout, which tells LLVM optimizations that pointers are 64-bits. Then in the backend, instruction selection has a memory64 version of each pattern for memory instructions.
Thank you