[PATCH] D36433: [KnownBits][ValueTracking] Move the math for calculating known bits for add/sub into a static method in KnownBits object
Craig Topper via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 7 15:52:12 PDT 2017
craig.topper created this revision.
Herald added a subscriber: mgorny.
I want to reuse this code in SimplifyDemandedBits handling of Add/Sub. This will make that easier.
Wonder if we should use it in SelectionDAG's computeKnownBits too.
https://reviews.llvm.org/D36433
Files:
include/llvm/Support/KnownBits.h
lib/Analysis/ValueTracking.cpp
lib/Support/CMakeLists.txt
lib/Support/KnownBits.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D36433.110107.patch
Type: text/x-patch
Size: 5472 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170807/fd18a49a/attachment.bin>
More information about the llvm-commits
mailing list