[all-commits] [llvm/llvm-project] 9bc5b1: [X86][SSE] combineVectorSignBitsTruncation - remov...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Mon Apr 6 04:45:47 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 9bc5b1a489c66dc16f63050648824d00053dc659
      https://github.com/llvm/llvm-project/commit/9bc5b1a489c66dc16f63050648824d00053dc659
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2020-04-06 (Mon, 06 Apr 2020)

  Changed paths:
    M llvm/lib/Target/X86/X86ISelLowering.cpp
    M llvm/test/CodeGen/X86/masked_store_trunc_ssat.ll
    M llvm/test/CodeGen/X86/masked_store_trunc_usat.ll
    M llvm/test/CodeGen/X86/vector-trunc-packus.ll
    M llvm/test/CodeGen/X86/vector-trunc-ssat.ll
    M llvm/test/CodeGen/X86/vector-trunc-usat.ll

  Log Message:
  -----------
  [X86][SSE] combineVectorSignBitsTruncation - remove minimum vector length limitations

truncateVectorWithPACK has its own vector length controls, so we can rely on those directly. This helps some existing truncation to subvector tests, which were being combined later during shuffle lowering at which point the sign/zero bit detection had become obscured preventing lowerShuffleWithPACK working as well as it could.




More information about the All-commits mailing list