[all-commits] [llvm/llvm-project] d3a0f9: [APInt] Add the truncOrSelf resizing operator to A...
kmclaughlin-arm via All-commits
all-commits at lists.llvm.org
Mon Nov 23 03:40:26 PST 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: d3a0f9b9ec88ce0737470652330262f8ed46daa7
https://github.com/llvm/llvm-project/commit/d3a0f9b9ec88ce0737470652330262f8ed46daa7
Author: Kerry McLaughlin <kerry.mclaughlin at arm.com>
Date: 2020-11-23 (Mon, 23 Nov 2020)
Changed paths:
M llvm/include/llvm/ADT/APInt.h
M llvm/lib/Support/APInt.cpp
M llvm/unittests/ADT/APIntTest.cpp
Log Message:
-----------
[APInt] Add the truncOrSelf resizing operator to APInt
Truncates the APInt if the bit width is greater than the width specified,
otherwise do nothing
Reviewed By: RKSimon
Differential Revision: https://reviews.llvm.org/D91445
More information about the All-commits
mailing list