mirror of
https://github.com/bytecodealliance/wasm-micro-runtime.git
synced 2025-10-30 12:51:16 +00:00
The old method may not work for some cases. This PR iterates over all instructions in the function, looking for memcpy, memmove and memset instructions, putting them into a set, and finally expands them into a loop one by one. And move this LLVM Pass after building the pipe line of pass builder to ensure that the memcpy/memmove/memset instrinsics are generated before applying the pass. |
||
|---|---|---|
| .. | ||
| aot | ||
| common | ||
| compilation | ||
| doc | ||
| fast-jit | ||
| include | ||
| interpreter | ||
| libraries | ||
| README.md | ||