[PATCH] D60460: [SelectionDAG] Let computeKnownBits handle OR-like ADDs better

Bjorn Pettersson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 10 02:38:55 PDT 2019


bjope updated this revision to Diff 194468.
bjope added a comment.

Use KnownBits::computeForAddSub instead, and do it for both ADD* and SUB* nodes.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D60460

Files:
  llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
  llvm/test/CodeGen/X86/pr32282.ll
  llvm/test/CodeGen/X86/x32-va_start.ll
  llvm/unittests/CodeGen/AArch64SelectionDAGTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D60460.194468.patch
Type: text/x-patch
Size: 7904 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190410/dc8ba797/attachment.bin>


More information about the llvm-commits mailing list