commit | 0fc5095d0e0c3ca3b9cbceab1072cc789b587f47 | [log] [tgz] |
---|---|---|
author | Zhou Sheng <zhousheng00@gmail.com> | Sun Mar 25 05:01:29 2007 +0000 |
committer | Zhou Sheng <zhousheng00@gmail.com> | Sun Mar 25 05:01:29 2007 +0000 |
tree | db2d544beb288efedfcfd19870778aa0829e0a5c | |
parent | 5df99b376f38a2a0aaa2fc63254cf0306eef3c1b [diff] |
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