[X86] LowerVectorAllEqual - don't attempt to match comparisons of float data
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Thu, 6 Apr 2023 10:22:36 +0000 (11:22 +0100)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Thu, 6 Apr 2023 10:31:59 +0000 (11:31 +0100)
commit93fb1bac674b07134f7de59ba22d3d5acf741637
treef553a5b31f01e3190eb1ec65f61dfe7a286a2ca5
parent3d7242f05e6ebae394fe47039abb0568083209a0
[X86] LowerVectorAllEqual - don't attempt to match comparisons of float data

FCMP may use ISD::SETNE when nnan, we don't want to end up with cases where we mismatch signed zeros etc.

Thanks to @pengfei for the test case from D147688
llvm/lib/Target/X86/X86ISelLowering.cpp
llvm/test/CodeGen/X86/movmsk-cmp.ll