diff options
author | Derek Schuff <dschuff@chromium.org> | 2025-10-14 22:00:25 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-10-14 22:00:25 +0000 |
commit | 19a58a520820a0678e767abdf418f101cfd5ca1a (patch) | |
tree | a14712b6637bb6cc32f8ac56b2a6928379801c7d /llvm/lib/Target/CSKY/Disassembler/CSKYDisassembler.cpp | |
parent | 511c1f9f151e22757cdac0b291022bf1cccbfc1d (diff) | |
download | llvm-19a58a520820a0678e767abdf418f101cfd5ca1a.zip llvm-19a58a520820a0678e767abdf418f101cfd5ca1a.tar.gz llvm-19a58a520820a0678e767abdf418f101cfd5ca1a.tar.bz2 |
[WebAssembly] Optimize lowering of constant-sized memcpy and memset (#163294)
We currently emit a check that the size operand isn't zero, to avoid
executing the wasm memory.copy instruction when it would trap.
But this isn't necessary if the operand is a constant.
Fixes #163245
Diffstat (limited to 'llvm/lib/Target/CSKY/Disassembler/CSKYDisassembler.cpp')
0 files changed, 0 insertions, 0 deletions