[all-commits] [llvm/llvm-project] 0741b7: [X86][SSE] Attempt to widen MOVMSK vector input if...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Sun Jun 7 03:52:33 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 0741b75ad543d108759c0658fedb5fdfcf064487
      https://github.com/llvm/llvm-project/commit/0741b75ad543d108759c0658fedb5fdfcf064487
  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] Attempt to widen MOVMSK vector input if the signbits are splatted.

As shown on PR37087, if we have a MOVMSK(BICAST(X)) from a wider vector, then by using MOVMSK from the wider type (32/64-bit elements) we can improve the chances of further combines with SimplifyDemandedBits/Elts and on some targets (skylake) can be more efficient.


  Commit: 52d6950c47c1521742ed5cbde067d3c927c5d401
      https://github.com/llvm/llvm-project/commit/52d6950c47c1521742ed5cbde067d3c927c5d401
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2020-06-07 (Sun, 07 Jun 2020)

  Changed paths:
    M llvm/test/CodeGen/X86/combine-movmsk-avx.ll
    M llvm/test/CodeGen/X86/combine-movmsk.ll

  Log Message:
  -----------
  [X86][SSE] Extend ICMP(MOVMSK(BITCAST(X))) tests to allof patterns as well as the existing noneof/anyof patterns.


  Commit: 1e9d2f908e924002a4c91de1ff3a035897dd9ae7
      https://github.com/llvm/llvm-project/commit/1e9d2f908e924002a4c91de1ff3a035897dd9ae7
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2020-06-07 (Sun, 07 Jun 2020)

  Changed paths:
    M llvm/include/llvm/Analysis/OrderedInstructions.h
    M llvm/lib/Analysis/OrderedInstructions.cpp

  Log Message:
  -----------
  OrderedInstructions.h - reduce includes to forward declarations. NFC.


  Commit: 91591ec4248a32bee5e8abb4c014df5390a487d8
      https://github.com/llvm/llvm-project/commit/91591ec4248a32bee5e8abb4c014df5390a487d8
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2020-06-07 (Sun, 07 Jun 2020)

  Changed paths:
    M llvm/include/llvm/Analysis/ObjCARCAnalysisUtils.h

  Log Message:
  -----------
  ObjCARCAnalysisUtils.h - remove unused LLVMContext.h include. NFC.


Compare: https://github.com/llvm/llvm-project/compare/4affc444b499...91591ec4248a


More information about the All-commits mailing list