@@ -22,27 +22,27 @@ multiclass BULK_I<dag oops_r, dag iops_r, dag oops_s, dag iops_s,
22
22
23
23
// Bespoke types and nodes for bulk memory ops
24
24
25
- def wasm_memcpylike_t : SDTypeProfile<0, 5,
25
+ def wasm_memcpy_t : SDTypeProfile<0, 5,
26
26
[SDTCisInt<0>, SDTCisInt<1>, SDTCisPtrTy<2>, SDTCisPtrTy<3>, SDTCisInt<4>]
27
27
>;
28
- def wasm_memsetlike_t : SDTypeProfile<0, 4,
28
+ def wasm_memset_t : SDTypeProfile<0, 4,
29
29
[SDTCisInt<0>, SDTCisPtrTy<1>, SDTCisInt<2>, SDTCisInt<3>]
30
30
>;
31
31
32
32
// memory.copy (may trap on empty ranges)
33
- def wasm_memory_copy : SDNode<"WebAssemblyISD::MEMORY_COPY", wasm_memcpylike_t ,
33
+ def wasm_memory_copy : SDNode<"WebAssemblyISD::MEMORY_COPY", wasm_memcpy_t ,
34
34
[SDNPHasChain, SDNPMayLoad, SDNPMayStore]>;
35
35
36
36
// memory.copy with a branch to avoid trapping
37
- def wasm_memcpy : SDNode<"WebAssemblyISD::MEMCPY", wasm_memcpylike_t ,
37
+ def wasm_memcpy : SDNode<"WebAssemblyISD::MEMCPY", wasm_memcpy_t ,
38
38
[SDNPHasChain, SDNPMayLoad, SDNPMayStore]>;
39
39
40
40
// memory.fill (may trap on empty ranges)
41
- def wasm_memory_fill : SDNode<"WebAssemblyISD::MEMORY_FILL", wasm_memsetlike_t ,
41
+ def wasm_memory_fill : SDNode<"WebAssemblyISD::MEMORY_FILL", wasm_memset_t ,
42
42
[SDNPHasChain, SDNPMayStore]>;
43
43
44
44
// memory.fill with a branch to avoid trapping
45
- def wasm_memset : SDNode<"WebAssemblyISD::MEMSET", wasm_memsetlike_t ,
45
+ def wasm_memset : SDNode<"WebAssemblyISD::MEMSET", wasm_memset_t ,
46
46
[SDNPHasChain, SDNPMayStore]>;
47
47
48
48
// A multiclass for defining Wasm's raw bulk-memory `memory.*` instructions.
0 commit comments