HomePhabricator

[APInt] Introduce clearLowBits()

Authored by lebedev.ri on Jul 30 2019, 12:09 AM.

Description

[APInt] Introduce clearLowBits()

Summary: Equivalent to x & -2^K.

Reviewers: RKSimon, craig.topper

Reviewed By: RKSimon, craig.topper

Subscribers: dexonsmith, llvm-commits

Tags: #llvm

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

llvm-svn: 367287

Details

Committed
lebedev.riJul 30 2019, 12:09 AM
Reviewer
RKSimon
Differential Revision
D65369: [APInt] Introduce clearLowBits()
Parents
rG074db9b8e97a: Revert "[llvm-objdump] Add warning messages if disassembly + source for…
Branches
Unknown
Tags
Unknown