Skip to content
Commit 4f065fcb authored by Thomas Lively's avatar Thomas Lively
Browse files

[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
parent 247bad16
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment