[all-commits] [llvm/llvm-project] cb8a0b: [X86][SSE] Add LowerVectorAllZero helper for check...

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


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: cb8a0ba829665a9e2b534e2b6ecc3ca94f9a3bc5
      https://github.com/llvm/llvm-project/commit/cb8a0ba829665a9e2b534e2b6ecc3ca94f9a3bc5
  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] Add LowerVectorAllZero helper for checking if all bits of a vector are zero.

Pull the lowering code out of LowerVectorAllZeroTest (and rename it MatchVectorAllZeroTest).

We should be able to reuse this in combineVectorSizedSetCCEquality as well.

Another cleanup to simplify D81547.




More information about the All-commits mailing list