[PATCH] D156220: [DAGCombiner] Simplify foldAndOrOfSETCC. NFC.

Jay Foad via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 25 02:37:42 PDT 2023


foad created this revision.
foad added reviewers: craig.topper, kmitropoulou.
Herald added subscribers: StephenFan, hiraditya.
Herald added a project: All.
foad requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Pull out repeated hasOneUse checks. Simplify some conditions. Reduce
indentation.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D156220

Files:
  llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D156220.543896.patch
Type: text/x-patch
Size: 5328 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230725/d5eb6094/attachment.bin>


More information about the llvm-commits mailing list