[all-commits] [llvm/llvm-project] f2d03a: [X86] combinePTESTCC - only fold TESTZ(OR(LO(X), HI...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Mon Apr 17 03:43:18 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f2d03a2533c64068de3e85483aed583ab173b18a
      https://github.com/llvm/llvm-project/commit/f2d03a2533c64068de3e85483aed583ab173b18a
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2023-04-17 (Mon, 17 Apr 2023)

  Changed paths:
    M llvm/lib/Target/X86/X86ISelLowering.cpp
    M llvm/test/CodeGen/X86/combine-testpd.ll
    M llvm/test/CodeGen/X86/combine-testps.ll

  Log Message:
  -----------
  [X86] combinePTESTCC - only fold TESTZ(OR(LO(X),HI(X)),OR(LO(Y),HI(Y))) -> TESTZ(X,Y) for TESTP ops

Stop value type mismatch assertions, we can add TESTPS/TESTPD support to this in the future.

Fixes #62171




More information about the All-commits mailing list