After the introduction of WasmAddress, this pass no longer does anything. It will likely only ever be profitable for WASM, and in addition, the pattern matching is pretty fragile. For now, we should remove it, and consider re-adding it when we need a JetStream progression. Here are some additional thoughts that we should consider before we add it back: 1) We consider hoisting WasmAddress in LICM or as a peephole optimization 2) We should support ARM64: see 230908 3) If we get SIMD/memcpy instruction support, we should consider inlining memcpy 4) We should make the pattern matching more general
Created attachment 443149 [details] Patch
<rdar://problem/85228080>
Closing old bugs assigned to me