[all-commits] [llvm/llvm-project] 333aa6: [X86][SSE] MatchVectorAllZeroTest - handle OR vect...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Mon Jun 29 07:51:16 PDT 2020


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

  Changed paths:
    M llvm/lib/Target/X86/X86ISelLowering.cpp
    M llvm/test/CodeGen/X86/pr45378.ll
    M llvm/test/CodeGen/X86/vector-reduce-or-cmp.ll

  Log Message:
  -----------
  [X86][SSE] MatchVectorAllZeroTest - handle OR vector reductions (REAPPLIED)

This patch extends MatchVectorAllZeroTest to handle OR vector reduction patterns where the result is compared against zero.

Reapplied with a fix for a chromium regression due to a missing isNullConstant() check in combineSetCC: https://bugs.chromium.org/p/chromium/issues/detail?id=1097758

Fixes PR45378

Differential Revision: https://reviews.llvm.org/D81547




More information about the All-commits mailing list