[all-commits] [llvm/llvm-project] 6adeda: [X86] combinePTESTCC - fold PTESTC(PCMPEQ(X, 0), -1)...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Sun Jan 19 05:09:38 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6adeda8f5505592d68676cce336c07a9dc651b26
      https://github.com/llvm/llvm-project/commit/6adeda8f5505592d68676cce336c07a9dc651b26
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2025-01-19 (Sun, 19 Jan 2025)

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

  Log Message:
  -----------
  [X86] combinePTESTCC - fold PTESTC(PCMPEQ(X,0),-1) == PTESTZ(X,X) (#123466)

Simplifies the hidden "all_of(X == 0)" pattern

Fixes #123456



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