[all-commits] [llvm/llvm-project] 1b209f: [DAG] Move vselect(icmp_ult, 0, sub(x, y)) -> usubs...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Tue Dec 1 06:26:02 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 1b209ff9e3e13492fd56ae6662989ef47510db4d
      https://github.com/llvm/llvm-project/commit/1b209ff9e3e13492fd56ae6662989ef47510db4d
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2020-12-01 (Tue, 01 Dec 2020)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
    M llvm/lib/Target/X86/X86ISelLowering.cpp
    M llvm/test/CodeGen/X86/usub_sat_vec.ll

  Log Message:
  -----------
  [DAG] Move vselect(icmp_ult, 0, sub(x,y)) -> usubsat(x,y) to DAGCombine (PR40111)

Move the X86 VSELECT->USUBSAT fold to DAGCombiner - there's nothing target specific about these folds.




More information about the All-commits mailing list