In function ComputeMaskedBits():
authorZhou Sheng <zhousheng00@gmail.com>
Mon, 12 Mar 2007 05:44:52 +0000 (05:44 +0000)
committerZhou Sheng <zhousheng00@gmail.com>
Mon, 12 Mar 2007 05:44:52 +0000 (05:44 +0000)
commit430f626937c15bdad1d00f155d78a9273514c695
tree3958782fca7061d89ab9a4b54c544997381ef479
parent8db6a445e679817d9972c44d2bc366732388c7b0
In function ComputeMaskedBits():
  1. Replace getSignedMinValue() with getSignBit() for better code readability.
  2. Replace APIntOps::shl() with operator<<= for convenience.
  3. Make APInt construction more effective.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35060 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/InstructionCombining.cpp