[all-commits] [llvm/llvm-project] 807467: [X86] getX86MaskVec - replace mask limit from NumE...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Thu Aug 6 04:00:12 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 807467009d6faa5beb732d49ec4575fa1409abd7
      https://github.com/llvm/llvm-project/commit/807467009d6faa5beb732d49ec4575fa1409abd7
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2020-08-06 (Thu, 06 Aug 2020)

  Changed paths:
    M llvm/lib/IR/AutoUpgrade.cpp

  Log Message:
  -----------
  [X86] getX86MaskVec - replace mask limit from NumElts < 8 with NumElts <= 4

As noted on PR46885, the number of mask elements should always be a power of 2, so to fix the static analyzer warning we are better off replacing the condition to <= 4, and I've added a pow2 assertion as well.


  Commit: 55ead5bfffdc00e84cff347ee98471b5616a9f48
      https://github.com/llvm/llvm-project/commit/55ead5bfffdc00e84cff347ee98471b5616a9f48
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2020-08-06 (Thu, 06 Aug 2020)

  Changed paths:
    M llvm/include/llvm/DebugInfo/PDB/PDBExtras.h

  Log Message:
  -----------
  Fix include sorting order. NFC


Compare: https://github.com/llvm/llvm-project/compare/87c5437afd27...55ead5bfffdc


More information about the All-commits mailing list