HomePhabricator

[ValueTracking] Use APInt::isNegative instead of using operator[BitWidth-1].

Authored by craig.topper on Mar 23 2017, 12:06 AM.

Description

[ValueTracking] Use APInt::isNegative instead of using operator[BitWidth-1]. NFCI

llvm-svn: 298584

Details

Committed
craig.topperMar 23 2017, 12:06 AM
Parents
rGd73c6b4ef865: [ValueTracking] Use setAllBits/setSignBit/setLowBits/setHighBits. NFCI
Branches
Unknown
Tags
Unknown