[PATCH] D30965: [CodeGen] Use APInt::setLowBits/setHighBits/setBitsFrom in more places
Craig Topper via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Mar 14 18:37:54 PDT 2017
craig.topper created this revision.
This patch replaces ORs with getHighBits/getLowBits etc. with setLowBits/setHighBits/setBitsFrom.
In a few of the places we weren't ORing, but the KnownZero/KnownOne vectors were already initialized to zero. We exploit this in most places already there were just some that were inconsistent.
https://reviews.llvm.org/D30965
Files:
lib/CodeGen/SelectionDAG/SelectionDAG.cpp
lib/CodeGen/SelectionDAG/TargetLowering.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D30965.91808.patch
Type: text/x-patch
Size: 6865 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170315/e8444818/attachment.bin>
More information about the llvm-commits
mailing list