[all-commits] [llvm/llvm-project] fd03be: [APInt] add wrap support for `setBits` and `getBit...

chen zheng via All-commits all-commits at lists.llvm.org
Tue Nov 19 00:58:06 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: fd03be363421fa65cbe5447eef489a67517e9083
      https://github.com/llvm/llvm-project/commit/fd03be363421fa65cbe5447eef489a67517e9083
  Author: czhengsz <czhengsz at cn.ibm.com>
  Date:   2019-11-19 (Tue, 19 Nov 2019)

  Changed paths:
    M llvm/include/llvm/ADT/APInt.h
    M llvm/unittests/ADT/APIntTest.cpp

  Log Message:
  -----------
  [APInt] add wrap support for `setBits` and `getBitsSet`

Add two new interfaces getBitsSet and getBitsSetWithWrap

Reviewed by: lebedev.ri, craig.topper

Differential Revision: https://reviews.llvm.org/D69032




More information about the All-commits mailing list