commit | 0e2d3ac0f8794af9f4502df131f78cea7b8c2518 | [log] [tgz] |
---|---|---|
author | Zhou Sheng <zhousheng00@gmail.com> | Fri Mar 30 09:29:48 2007 +0000 |
committer | Zhou Sheng <zhousheng00@gmail.com> | Fri Mar 30 09:29:48 2007 +0000 |
tree | 235aaa781b20053c6eef3a1e83239f6484c9ef3f | |
parent | 48a3e98c272d673f075c51d078140765fc267eb8 [diff] |
1. Make sure the use of ConstantInt::getZExtValue() for getting shift amount is safe. 2. Use new method on ConstantInt instead of (? :) operator. 3. Use new method uge() on ConstantInt to simplify codes. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35505 91177308-0d34-0410-b5e6-96231b3b80d8