[PATCH] D30602: [APInt] Add getBitsSetFrom and setBitsFrom to set upper bits starting at a bit

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Mar 4 15:45:02 PST 2017


RKSimon added inline comments.


================
Comment at: include/llvm/ADT/APInt.h:520
+  /// example, with parameters (32, 28, 4), you would get 0xF000000F.
+  ///
+  /// \param numBits the intended bit width of the result
----------------
This comment doesn't match the function......


https://reviews.llvm.org/D30602





More information about the llvm-commits mailing list