aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/ModuleSymbolTable.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@sifive.com>2021-08-18 12:21:04 -0700
committerCraig Topper <craig.topper@sifive.com>2021-08-19 07:09:38 -0700
commit36d8316cc8b6ab85d0d3ed46a04490afa5e49a29 (patch)
treefbd0d32cf903bae8f49ae5772f14ba5a00df79f6 /llvm/lib/Object/ModuleSymbolTable.cpp
parent765a4212764d819e77772d916419d5e6d9b53460 (diff)
downloadllvm-36d8316cc8b6ab85d0d3ed46a04490afa5e49a29.zip
llvm-36d8316cc8b6ab85d0d3ed46a04490afa5e49a29.tar.gz
llvm-36d8316cc8b6ab85d0d3ed46a04490afa5e49a29.tar.bz2
[RISCV] Reduce duplicate code for calling SimplifyDemandedBits.
This encapsulates the APInt creation and worklist management into a helper function. To keep one common interface I've use Log2_32 in places that previously created a mask by subtracting 1 from a power of 2. Differential Revision: https://reviews.llvm.org/D108324
Diffstat (limited to 'llvm/lib/Object/ModuleSymbolTable.cpp')
0 files changed, 0 insertions, 0 deletions