HomePhabricator

[DAGCombiner] Use APInt directly to detect out of range shift constants

Description

[DAGCombiner] Use APInt directly to detect out of range shift constants

Using getZExtValue() will assert if the value doesn't fit into uint64_t - SHL was already doing this, I've just updated ASHR/LSHR to match

As mentioned on D22726

Details

Committed
RKSimonJul 27 2016, 3:30 AM
Parents
rL276854: clang-format: Fix incorrect detection of QT-signals access specifier.
Branches
Unknown
Tags
Unknown