[all-commits] [llvm/llvm-project] 2d6042: [SelectionDAGBuilder] Add SPF_NABS support to visi...

Craig Topper via All-commits all-commits at lists.llvm.org
Wed Nov 25 15:04:04 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 2d6042937b04eef00672b5c4ce623bf8f7b9a201
      https://github.com/llvm/llvm-project/commit/2d6042937b04eef00672b5c4ce623bf8f7b9a201
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2020-11-25 (Wed, 25 Nov 2020)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
    M llvm/test/CodeGen/PowerPC/select.ll
    M llvm/test/CodeGen/RISCV/neg-abs.ll

  Log Message:
  -----------
  [SelectionDAGBuilder] Add SPF_NABS support to visitSelect

We currently don't match this which limits the effectiveness of D91120 until
InstCombine starts canonicalizing to llvm.abs. This should be easy to remove
if/when we remove the SPF_ABS handling.

Differential Revision: https://reviews.llvm.org/D92118




More information about the All-commits mailing list