[llvm] [WebAssembly] Correct operands for NaN/Zero checks in min/max (PR #189712)

via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 1 07:44:12 PDT 2026


zGoldthorpe wrote:

> > do you have a test for this?
> 
> Yes, please add a test(s)

@sparker-arm Unfortunately, I can't see a good way of creating an IR test for this, because `isKnownNeverZeroFloat` is currently very limited (it only checks constants). Are the failing WebAssembly assertion tests in #189752 sufficient?

https://github.com/llvm/llvm-project/pull/189712


More information about the llvm-commits mailing list