This is an archive of the discontinued LLVM Phabricator instance.

[mlir][Interfaces] ValueBoundsOpInterface: Check if two values are equal
ClosedPublic

Authored by springerm on May 25 2023, 6:53 AM.

Details

Summary

Add a helper function that computes if two SSA values have the same value, utilizing the ValueBoundsOpInterface infrastructure. Two SSA values have the same value, an equality bound of 0 can be derived for their subtraction.

The helper function can also be used to determine if two tensor dimension sizes are equal.

Depends On: D151442

Diff Detail