[all-commits] [llvm/llvm-project] 0b8065: [X86][SSE] LowerVectorAllZeroTest - remove unneces...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Mon Jun 15 07:14:52 PDT 2020


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

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

  Log Message:
  -----------
  [X86][SSE] LowerVectorAllZeroTest - remove unnecessary bitcasts

matchScalarReduction should return all its source vectors with the same type, so we can safely perform the OR reduction with the original type.

So we just need to bitcast for PTEST/PCMPEQB with the final reduced vector.




More information about the All-commits mailing list