[all-commits] [llvm/llvm-project] cce649: [X86] combineSetCCMOVMSK - match all_of patterns w...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Fri Jan 28 03:43:51 PST 2022


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

  Changed paths:
    M llvm/lib/Target/X86/X86ISelLowering.cpp
    M llvm/test/CodeGen/X86/movmsk-cmp.ll
    M llvm/test/CodeGen/X86/vector-compare-all_of.ll
    M llvm/test/CodeGen/X86/vector-reduce-and-bool.ll

  Log Message:
  -----------
  [X86] combineSetCCMOVMSK - match all_of patterns with X86ISD::CMP as well as X86ISD::SUB

Previous folds by combineSetCCMOVMSK might have converted these to CMP when changing the bitwidth, and the CMP->SUB fold might not have happened (or will happen)




More information about the All-commits mailing list