add CFP::isNegative() and ConstnatInt::isNegative() methods.
authorChris Lattner <sabre@nondot.org>
Fri, 15 Jul 2011 05:58:04 +0000 (05:58 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 15 Jul 2011 05:58:04 +0000 (05:58 +0000)
commitb447387726ff94ddb2a23408f39e22714c42f79b
tree0025f862364fb3bd08c5de1a9d415280bef1e950
parentba3ddf391f5149b8fca073adc3cbca361353929c
add CFP::isNegative() and ConstnatInt::isNegative() methods.

Devirtualize the isNegativeZeroValue method.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@135249 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Constant.h
include/llvm/Constants.h
lib/VMCore/Constants.cpp