HomePhabricator

Fix bad APInt compare.

Description

Fix bad APInt compare.

APInt comparison require both to have the same bitwidth. Since only the value
is needed, use the compare function APInt::isSameValue instead.

Details

Committed
rtrieuSep 20 2019, 9:18 PM
Parents
rL372453: Merge and improve code that detects same value in comparisons.
Branches
Unknown
Tags
Unknown