[PATCH] D135301: [DAG] Extract helper for (neg x) [nfc]

Philip Reames via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 5 12:10:33 PDT 2022


reames created this revision.
reames added reviewers: craig.topper, RKSimon.
Herald added subscribers: StephenFan, frasercrmck, ecnelises, luismarques, apazos, sameer.abuasal, s.egerton, Jim, jocewei, PkmX, the_o, brucehoult, MartinMosbeck, rogfer01, edward-jones, zzheng, jrtc27, niosHD, sabuasal, bollu, simoncook, johnrusso, rbar, asb, hiraditya, arichardson, mcrosier.
Herald added a project: All.
reames requested review of this revision.
Herald added subscribers: pcwang-thead, MaskRay.
Herald added a project: LLVM.

This is a frequently reoccurring pattern, let's factor it out.  The mechanical change is obvious, posting for review to make sure we have agreement on naming and comments.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D135301

Files:
  llvm/include/llvm/CodeGen/SelectionDAG.h
  llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
  llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
  llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
  llvm/lib/Target/RISCV/RISCVISelLowering.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D135301.465498.patch
Type: text/x-patch
Size: 6187 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221005/01770cd6/attachment.bin>


More information about the llvm-commits mailing list