[all-commits] [llvm/llvm-project] 7b77dd: [X86] SimplifyDemandedBitsForTargetNode - add X86I...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Tue Jun 27 06:23:21 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7b77dd6afdee0c3f71c456d890940dc7618e2659
      https://github.com/llvm/llvm-project/commit/7b77dd6afdee0c3f71c456d890940dc7618e2659
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2023-06-27 (Tue, 27 Jun 2023)

  Changed paths:
    M llvm/lib/Target/X86/X86ISelLowering.cpp
    M llvm/test/CodeGen/X86/fpclamptosat_vec.ll
    M llvm/test/CodeGen/X86/masked_store_trunc_usat.ll
    M llvm/test/CodeGen/X86/psubus.ll
    M llvm/test/CodeGen/X86/udiv_fix_sat.ll
    M llvm/test/CodeGen/X86/vector-trunc-usat.ll

  Log Message:
  -----------
  [X86] SimplifyDemandedBitsForTargetNode - add X86ISD::ANDNP handling

Add X86ISD::ANDNP handling to targetShrinkDemandedConstant as well, which allows us to replace a lot of truncated masks with (rematerializable) allones values




More information about the All-commits mailing list