OSDN Git Service

[ConstantRange] Use APInt::isNullValue in place of comparing with 0. The compiler...
authorCraig Topper <craig.topper@gmail.com>
Tue, 9 May 2017 05:01:29 +0000 (05:01 +0000)
committerCraig Topper <craig.topper@gmail.com>
Tue, 9 May 2017 05:01:29 +0000 (05:01 +0000)
commit384ba40c2749c8e1b9989bd0afd3fbad6b20fe21
treece6dea632d2c4107814be7ce359c35db870370db
parent5c900216f19b2de65806ee1e8d378aae55249ee0
[ConstantRange] Use APInt::isNullValue in place of comparing with 0. The compiler should be able to generate slightly better code for the former. NFC

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@302508 91177308-0d34-0410-b5e6-96231b3b80d8
lib/IR/ConstantRange.cpp