[all-commits] [llvm/llvm-project] 1b83aa: [DAG] Remove oneuse check in select_cc setgt X, -1...

David Green via All-commits all-commits at lists.llvm.org
Sun Sep 5 08:18:55 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1b83aaaefa1aedbf1a98a33533295b78f89a5b0b
      https://github.com/llvm/llvm-project/commit/1b83aaaefa1aedbf1a98a33533295b78f89a5b0b
  Author: David Green <david.green at arm.com>
  Date:   2021-09-05 (Sun, 05 Sep 2021)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
    M llvm/test/CodeGen/AArch64/select-constant-xor.ll
    M llvm/test/CodeGen/AMDGPU/fp_to_sint.ll
    M llvm/test/CodeGen/AMDGPU/fp_to_uint.ll
    M llvm/test/CodeGen/AMDGPU/selectcc-icmp-select-float.ll
    M llvm/test/CodeGen/ARM/select-constant-xor.ll
    M llvm/test/CodeGen/PowerPC/select-constant-xor.ll
    M llvm/test/CodeGen/PowerPC/smulfixsat.ll
    M llvm/test/CodeGen/X86/smul_fix_sat.ll
    M llvm/test/CodeGen/X86/sshl_sat.ll

  Log Message:
  -----------
  [DAG] Remove oneuse check in select_cc setgt X, -1, C, ~C fold

This appears to produce better code, even if the condition may need to
be replicated.




More information about the All-commits mailing list