[all-commits] [llvm/llvm-project] 1ab649: [X86] LowerSELECTWithCmpZero - move !canUseCMOV ch...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Sun Sep 8 02:40:44 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1ab649c18a0368af2a2a046ff7ac245282f9a895
      https://github.com/llvm/llvm-project/commit/1ab649c18a0368af2a2a046ff7ac245282f9a895
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2024-09-08 (Sun, 08 Sep 2024)

  Changed paths:
    M llvm/lib/Target/X86/X86ISelLowering.cpp

  Log Message:
  -----------
  [X86] LowerSELECTWithCmpZero - move !canUseCMOV check inside fold and update comment describing fold for clarity. NFC.

Minor refactor step before extending fold to support more patterns.


  Commit: 3d00e1e208413738fc978d0a4b4ff853c0413618
      https://github.com/llvm/llvm-project/commit/3d00e1e208413738fc978d0a4b4ff853c0413618
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2024-09-08 (Sun, 08 Sep 2024)

  Changed paths:
    M llvm/lib/Target/X86/X86ISelLowering.cpp
    M llvm/test/CodeGen/X86/avx512-calling-conv.ll
    M llvm/test/CodeGen/X86/avx512-extract-subvector-load-store.ll
    M llvm/test/CodeGen/X86/avx512-insert-extract.ll
    M llvm/test/CodeGen/X86/pr43507.ll
    M llvm/test/CodeGen/X86/setcc-lowering.ll
    M llvm/test/CodeGen/X86/vector-reduce-fmax-nnan.ll
    M llvm/test/CodeGen/X86/vector-reduce-fmin-nnan.ll

  Log Message:
  -----------
  [X86] LowerSELECTWithCmpZero - fold "SELECT (AND(X,1) == 0), 0, -1 -> NEG(AND(X,1))"


Compare: https://github.com/llvm/llvm-project/compare/13546c284fc3...3d00e1e20841

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