1. Avoid unnecessary APInt construction if possible.
authorZhou Sheng <zhousheng00@gmail.com>
Sun, 25 Mar 2007 05:01:29 +0000 (05:01 +0000)
committerZhou Sheng <zhousheng00@gmail.com>
Sun, 25 Mar 2007 05:01:29 +0000 (05:01 +0000)
commit0fc5095d0e0c3ca3b9cbceab1072cc789b587f47
treedb2d544beb288efedfcfd19870778aa0829e0a5c
parent5df99b376f38a2a0aaa2fc63254cf0306eef3c1b
1. Avoid unnecessary APInt construction if possible.
2. Use isStrictlyPositive() instead of isPositive() in two places where
   they need APInt value > 0 not only >=0.

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