]> granicus.if.org Git - llvm/commit
[ConstantInt] Use ConstantInt::getValue instead of Constant::getUniqueInteger in...
authorCraig Topper <craig.topper@intel.com>
Fri, 4 Aug 2017 16:59:29 +0000 (16:59 +0000)
committerCraig Topper <craig.topper@intel.com>
Fri, 4 Aug 2017 16:59:29 +0000 (16:59 +0000)
commite2caf82c168c6a63ce5213affc43254d2ac611da
tree9191595c8c2fb53e908b01f54adf328fc7020bdc
parentad5495ac8c27cb0e8a6fb1fe78cc228f7231ae96
[ConstantInt] Use ConstantInt::getValue instead of Constant::getUniqueInteger in a few places where we obviously have a ConstantInt. NFC

getUniqueInteger will ultimately call ConstantInt::getValue, but calling ConstantInt::getValue should be inlined.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@310069 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Analysis/BranchProbabilityInfo.cpp
lib/Analysis/LazyValueInfo.cpp
lib/Target/AArch64/AArch64ISelLowering.cpp