[llvm] wasm: recognize `any_true` and `all_true` (PR #155885)
Sam Parker via llvm-commits
llvm-commits at lists.llvm.org
Fri Mar 20 04:47:28 PDT 2026
sparker-arm wrote:
> The IR expansion also looks unconditional to me
Yeah, I can't say I've ever seen a reduction expanded with extracts.
Considering how 'messy' this is, with different implementations in IR and SDAG, how about an IR pass in the WebAssembly backend? Do your pattern matching on the IR to generate an intrinsic and then we can still fall back to the existing IR expansion.
https://github.com/llvm/llvm-project/pull/155885
More information about the llvm-commits
mailing list