[all-commits] [llvm/llvm-project] b20c1f: [X86] combinePTESTCC - remove unnecessary legal ve...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Wed Apr 12 03:04:09 PDT 2023


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

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

  Log Message:
  -----------
  [X86] combinePTESTCC - remove unnecessary legal vector type assertion

Most of these folds bitcast to the PTEST operand type anyway, and its only relevant for the PTEST->MOVMSK fold, which I'm looking at expanding to attempt to fold to PTEST->TESTP as well.

Noticed while beginning triage of Issue #60007




More information about the All-commits mailing list