[all-commits] [llvm/llvm-project] 33dcdd: [X86] Provide lighter weight getTargetShuffleMask ...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Fri Mar 12 07:17:11 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 33dcdd414cd539a4257ac3076ec7221bf41937d0
      https://github.com/llvm/llvm-project/commit/33dcdd414cd539a4257ac3076ec7221bf41937d0
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2021-03-12 (Fri, 12 Mar 2021)

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

  Log Message:
  -----------
  [X86] Provide lighter weight getTargetShuffleMask wrapper. NFCI.

Most callers to getTargetShuffleMask don't use the IsUnary flag.


  Commit: 6cb7dddaf4440267c5da29305a780197ca4b2342
      https://github.com/llvm/llvm-project/commit/6cb7dddaf4440267c5da29305a780197ca4b2342
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2021-03-12 (Fri, 12 Mar 2021)

  Changed paths:
    M llvm/lib/Target/X86/X86ISelLowering.cpp
    M llvm/test/CodeGen/X86/clear_upper_vector_element_bits.ll
    M llvm/test/CodeGen/X86/insertelement-zero.ll

  Log Message:
  -----------
  [X86][AVX] Insert zeros byte elements into 256/512-bit vectors using shuffle/and

Avoid extracting/inserting subvectors which makes it more difficult for shuffle combining to merge them together.


  Commit: 731b3d766420ce05726174ff0e1527dca8a63791
      https://github.com/llvm/llvm-project/commit/731b3d766420ce05726174ff0e1527dca8a63791
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2021-03-12 (Fri, 12 Mar 2021)

  Changed paths:
    M clang/lib/CodeGen/CGExprScalar.cpp

  Log Message:
  -----------
  [clang] Use Constant::getAllOnesValue helper. NFCI.

Avoid -1ULL which MSVC tends to complain about


Compare: https://github.com/llvm/llvm-project/compare/08a5277a6499...731b3d766420


More information about the All-commits mailing list