HomePhabricator

[ConstantRange] Add API for intrinsics (NFC)

Authored by nikic on Sat, Jul 25, 7:21 AM.

Description

[ConstantRange] Add API for intrinsics (NFC)

This adds a common API for compute constant ranges of intrinsics.
The intention here is that
a) we can reuse the same code across different passes that handle

constant ranges, i.e. this can be reused in SCCP

b) we only have to add knowledge about supported intrinsics to

ConstantRange, not any consumers.

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

Details

Committed
nikicWed, Jul 29, 1:16 PM
Differential Revision
D84587: [ConstantRange] Add API for intrinsics (NFC)
Parents
rG77c3b016c424: [mlir] fix error handling in rocm runtime wrapper
Branches
Unknown
Tags
Unknown