[wasm-simd][scalar-lowering] Fix all_true lowering
all_true requires the input to be of the respective type, but the final result is always a Int32x4 with a single node. So keep the replacement type of all_true (and any_true) nodes to be Int32x4, and use a helper method to decide what SimdType the input should be replaced with. Also split up any_true and all_true for readability. Bug: v8:10507 Change-Id: I58ca50ffffcbca3ec77bbae1371ddd179925fc96 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2405803Reviewed-by: Bill Budge <bbudge@chromium.org> Commit-Queue: Zhi An Ng <zhin@chromium.org> Cr-Commit-Position: refs/heads/master@{#69890}
Showing
Please
register
or
sign in
to comment