[all-commits] [llvm/llvm-project] 389ae7: [X86] Fold TESTZ(OR(LO(X), HI(X)), OR(LO(Y), HI(Y))) ...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Thu Jan 27 05:22:50 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 389ae775e44ea0c8cd42a3ae518e79b837af4990
      https://github.com/llvm/llvm-project/commit/389ae775e44ea0c8cd42a3ae518e79b837af4990
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2022-01-27 (Thu, 27 Jan 2022)

  Changed paths:
    M llvm/lib/Target/X86/X86ISelLowering.cpp
    M llvm/test/CodeGen/X86/combine-ptest.ll
    M llvm/test/CodeGen/X86/vector-reduce-and-bool.ll

  Log Message:
  -----------
  [X86] Fold TESTZ(OR(LO(X),HI(X)),OR(LO(Y),HI(Y))) -> TESTZ(X,Y)

Helps fix a number of poor codegen cases for allof(cmp()) with 256-bit vectors on AVX1




More information about the All-commits mailing list