[PATCH] D70079: [SelectionDAG] Combine U{ADD,SUB}O diamonds into {ADD,SUB}CARRY

David Zarzycki via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 18 02:46:57 PST 2019


davezarzycki updated this revision to Diff 229777.
davezarzycki edited the summary of this revision.
davezarzycki added a comment.

1. Check `TLI.isOperationLegalOrCustom()`.
2. Handle AND being used to merge flags.
3. More source comments.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D70079/new/

https://reviews.llvm.org/D70079

Files:
  lib/CodeGen/SelectionDAG/DAGCombiner.cpp
  test/CodeGen/X86/addcarry.ll
  test/CodeGen/X86/subcarry.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D70079.229777.patch
Type: text/x-patch
Size: 21195 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191118/7ab38f69/attachment.bin>


More information about the llvm-commits mailing list