[llvm] [WebAssembly] Protect memory.fill and memory.copy from zero-length ranges. (PR #112617)

Dan Gohman via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 22 17:05:40 PDT 2024


================
@@ -21,22 +21,37 @@ multiclass BULK_I<dag oops_r, dag iops_r, dag oops_s, dag iops_s,
 }
 
 // Bespoke types and nodes for bulk memory ops
-def wasm_memcpy_t : SDTypeProfile<0, 5,
+
+def wasm_memcpylike_t : SDTypeProfile<0, 5,
----------------
sunfishcode wrote:

Fixed.

https://github.com/llvm/llvm-project/pull/112617


More information about the llvm-commits mailing list