[all-commits] [llvm/llvm-project] 8aa52b: [APInt] set all bits for getBitsSetWithWrap if loB...
Chen Zheng via All-commits
all-commits at lists.llvm.org
Mon Jun 8 19:55:45 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 8aa52b19a7f1be25e38c851cfe861233ca66900a
https://github.com/llvm/llvm-project/commit/8aa52b19a7f1be25e38c851cfe861233ca66900a
Author: Chen Zheng <czhengsz at cn.ibm.com>
Date: 2020-06-08 (Mon, 08 Jun 2020)
Changed paths:
M llvm/include/llvm/ADT/APInt.h
M llvm/lib/Target/PowerPC/PPCMIPeephole.cpp
M llvm/unittests/ADT/APIntTest.cpp
Log Message:
-----------
[APInt] set all bits for getBitsSetWithWrap if loBit == hiBit
differentiate getBitsSetWithWrap & getBitsSet when loBit == hiBit
getBitsSetWithWrap sets all bits;
getBitsSet does nothing.
Reviewed By: lkail, RKSimon, lebedev.ri
Differential Revision: https://reviews.llvm.org/D81325
More information about the All-commits
mailing list