[PATCH] D112331: [TargetLowering] Simplify the interface of expandABS. NFC

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 22 09:37:00 PDT 2021


craig.topper created this revision.
craig.topper added reviewers: RKSimon, spatel.
Herald added subscribers: ecnelises, hiraditya.
craig.topper requested review of this revision.
Herald added a project: LLVM.

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


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D112331

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D112331.381585.patch
Type: text/x-patch
Size: 6729 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211022/9934df19/attachment.bin>


More information about the llvm-commits mailing list