[PATCH] D88935: [KnownBits] Add a computeForMul method
Quentin Colombet via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 6 16:20:25 PDT 2020
qcolombet created this revision.
qcolombet added reviewers: fhahn, nikic, aqjune, spatel, lebedev.ri, RKSimon, efriedma.
Herald added a subscriber: hiraditya.
Herald added a project: LLVM.
qcolombet requested review of this revision.
This patch refactors the logic in ValueTracking.cpp so that
computeKnownBitsForMul now uses a helper function from KnownBits.
NFC
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D88935
Files:
llvm/include/llvm/Support/KnownBits.h
llvm/lib/Analysis/ValueTracking.cpp
llvm/lib/Support/KnownBits.cpp
llvm/unittests/Support/KnownBitsTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D88935.296561.patch
Type: text/x-patch
Size: 9948 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201006/8d2c7d0e/attachment.bin>
More information about the llvm-commits
mailing list