[all-commits] [llvm/llvm-project] d17284: [DAG] SimplifyDemandedVectorElts - adjust demanded...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Wed Jul 13 09:38:45 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d172842b5100926cc882617a1874afc09f5fbaaf
      https://github.com/llvm/llvm-project/commit/d172842b5100926cc882617a1874afc09f5fbaaf
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2022-07-13 (Wed, 13 Jul 2022)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
    M llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
    M llvm/test/CodeGen/X86/vselect-constants.ll

  Log Message:
  -----------
  [DAG] SimplifyDemandedVectorElts - adjust demanded elements for selection mask for known zero results

If an element is known zero from both selections then it shouldn't matter what the selection mask element is.




More information about the All-commits mailing list