[all-commits] [llvm/llvm-project] a6d289: [X86] Add checkSignTestSetCCCombine - if X86ISD::C...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Wed Jul 3 03:48:10 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a6d289da0cce99b28658f264b7f9496e3648232e
      https://github.com/llvm/llvm-project/commit/a6d289da0cce99b28658f264b7f9496e3648232e
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2024-07-03 (Wed, 03 Jul 2024)

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

  Log Message:
  -----------
  [X86] Add checkSignTestSetCCCombine - if X86ISD::CMP/OR is testing for signbits, attempt to test for the signbit source instead. (#97433)

There's a lot more we could do here (including the reverse fold back to X86::COND_S/NS with some other X86ISD nodes), but I wanted to address the MOVMSK issue initially.

Fixes #66191



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