[all-commits] [llvm/llvm-project] 87a4b3: [WebAssembly] Use MVT::i32 instead of i1 in perfor...

Derek Schuff via All-commits all-commits at lists.llvm.org
Tue Mar 3 15:19:44 PST 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 87a4b36fbe7f46082c7ddb30ccf702a0913c1e08
      https://github.com/llvm/llvm-project/commit/87a4b36fbe7f46082c7ddb30ccf702a0913c1e08
  Author: Derek Schuff <dschuff at chromium.org>
  Date:   2026-03-03 (Tue, 03 Mar 2026)

  Changed paths:
    M llvm/lib/Target/WebAssembly/WebAssemblyISelLowering.cpp
    A llvm/test/CodeGen/WebAssembly/simd-memcmp.ll

  Log Message:
  -----------
  [WebAssembly] Use MVT::i32 instead of i1 in performAnyAllCombine (#183866)

The CombineSetCC helpers and performAnyAllCombine generate MVT::i1
results.
However MVT::i1 is an illegal type in WebAssembly, and this combiner can
run either before or after legalization. Directly creating the intrinsic
and negating its result using XOR instead of i1 and a NOT operation
avoids this problem.

Fixes #183842



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list