[all-commits] [llvm/llvm-project] 7db512: [X86][AVX] lowerShuffleWithVTRUNC - avoid unnecess...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Tue Aug 18 05:49:02 PDT 2020


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

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

  Log Message:
  -----------
  [X86][AVX] lowerShuffleWithVTRUNC - avoid unnecessary division in element counts. NFCI.

(256 / SrcEltBits) == ((2 * EltSizeInBits * NumElts) / (EltSizeInBits * Scale)) == (2 * (NumElts / Scale)) == NumSrcElts




More information about the All-commits mailing list