[all-commits] [llvm/llvm-project] 56e62e: [WebAssembly] Use generic pseudo_fmin/pseudo_fmax ...

Nikita Popov via All-commits all-commits at lists.llvm.org
Mon Jul 13 00:11:14 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 56e62e539eb65ebe4ec9fc6de0328fea21ae86fd
      https://github.com/llvm/llvm-project/commit/56e62e539eb65ebe4ec9fc6de0328fea21ae86fd
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2026-07-13 (Mon, 13 Jul 2026)

  Changed paths:
    M llvm/lib/Target/WebAssembly/WebAssemblyISelLowering.cpp
    M llvm/lib/Target/WebAssembly/WebAssemblyInstrSIMD.td
    M llvm/test/CodeGen/WebAssembly/simd-arith.ll
    M llvm/test/CodeGen/WebAssembly/simd-relaxed-fmax.ll
    M llvm/test/CodeGen/WebAssembly/simd-relaxed-fmin.ll
    M llvm/test/CodeGen/WebAssembly/vector-reduce.ll

  Log Message:
  -----------
  [WebAssembly] Use generic pseudo_fmin/pseudo_fmax opcodes (#208454)

The pmin/pmax instructions are equivalent to these with operands
swapped.

The existing matching code for these instructions was incorrect, because
it failed to handle signed zeros and NaNs properly. You can't treat
strict and non-strict comparisons the same in this context.



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