[all-commits] [llvm/llvm-project] 3a28ae: [X86][SSE] combineSetCCMOVMSK - add initial suppor...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Sun Jun 7 08:10:54 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 3a28ae091be754d315bcee9b7596429e38df5e2e
      https://github.com/llvm/llvm-project/commit/3a28ae091be754d315bcee9b7596429e38df5e2e
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2020-06-07 (Sun, 07 Jun 2020)

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

  Log Message:
  -----------
  [X86][SSE] combineSetCCMOVMSK - add initial support for allof patterns.

Handle MOVMSK 'allof' comparisons (X86ISD::SUB X, AllBitsMask) as well as 'anyof' patterns.

This allows us to handle these patterns in the MOVMSK(BITCAST(X)) pattern to fix PR37087.




More information about the All-commits mailing list