[PATCH] D30836: Use setBits in SelectionDAG
Craig Topper via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Mar 10 10:29:31 PST 2017
craig.topper added inline comments.
================
Comment at: lib/CodeGen/SelectionDAG/SelectionDAG.cpp:2318
BitWidth > 1)
- KnownZero |= APInt::getHighBitsSet(BitWidth, BitWidth - 1);
+ KnownZero.setBits(1, BitWidth);
break;
----------------
You can use setBitsFrom(1)
https://reviews.llvm.org/D30836
More information about the llvm-commits
mailing list