[all-commits] [llvm/llvm-project] 93fb1b: [X86] LowerVectorAllEqual - don't attempt to match...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Thu Apr 6 03:32:16 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 93fb1bac674b07134f7de59ba22d3d5acf741637
      https://github.com/llvm/llvm-project/commit/93fb1bac674b07134f7de59ba22d3d5acf741637
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2023-04-06 (Thu, 06 Apr 2023)

  Changed paths:
    M llvm/lib/Target/X86/X86ISelLowering.cpp
    M llvm/test/CodeGen/X86/movmsk-cmp.ll

  Log Message:
  -----------
  [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




More information about the All-commits mailing list