[WebAssembly] Fix incorrect assertion in SIMD reduction codegen
The codegen routine introduced in 18077e9f did not account for vectors with more than 16 lanes. Remove the incorrect assertion and bail out of the optimization when encountering this case. Add test cases that previously triggered the assertion. Unfortunately, these test cases now have terrible codegen, but that is at least better than crashing. Fixes #63500. Differential Revision: https://reviews.llvm.org/D154124
Loading
Please sign in to comment