[all-commits] [llvm/llvm-project] 0101fb: [X86] Fold MOVMSK(ICMP_SGT(X, -1)) -> NOT(MOVMSK(X)))

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Sun Dec 6 10:01:07 PST 2020


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0101fb73de71132bd5b25cfadc63974c692dbc5b
      https://github.com/llvm/llvm-project/commit/0101fb73de71132bd5b25cfadc63974c692dbc5b
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2020-12-06 (Sun, 06 Dec 2020)

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

  Log Message:
  -----------
  [X86] Fold MOVMSK(ICMP_SGT(X,-1)) -> NOT(MOVMSK(X)))

Noticed while triaging PR37506




More information about the All-commits mailing list