HomePhabricator

[SCCP] Compute ranges for supported intrinsics

Authored by nikic on Sep 5 2020, 1:27 AM.

Description

[SCCP] Compute ranges for supported intrinsics

For intrinsics supported by ConstantRange, compute the result range
based on the argument ranges. We do this independently of whether
some or all of the input ranges are full, as we can often still
constrain the result in some way.

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

Event Timeline