[all-commits] [llvm/llvm-project] 04c184: [TargetLowering] Simplify the interface of expandA...

Craig Topper via All-commits all-commits at lists.llvm.org
Fri Oct 22 10:22:38 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 04c184bba7d7f3827dd12cdbdd734f8aabb99e86
      https://github.com/llvm/llvm-project/commit/04c184bba7d7f3827dd12cdbdd734f8aabb99e86
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2021-10-22 (Fri, 22 Oct 2021)

  Changed paths:
    M llvm/include/llvm/CodeGen/TargetLowering.h
    M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
    M llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
    M llvm/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp
    M llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
    M llvm/lib/Target/ARM/ARMISelLowering.cpp

  Log Message:
  -----------
  [TargetLowering] Simplify the interface of expandABS. NFC

Instead of returning a bool to indicate success and a separate
SDValue, return the SDValue and have the callers check if it is
null.

Reviewed By: RKSimon

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




More information about the All-commits mailing list