commit | a42c7fd0ca5f2d6f653e3a9bac13ae176861a823 | [log] [tgz] |
---|---|---|
author | Reid Spencer <rspencer@reidspencer.com> | Sat Jan 20 20:12:29 2007 +0000 |
committer | Reid Spencer <rspencer@reidspencer.com> | Sat Jan 20 20:12:29 2007 +0000 |
tree | 714c7089076895a722ebece9e3d3fce722f6e38f | |
parent | 515674c7b66a411db4ea2fa1f5c30cd1461d3e51 [diff] |
Implement the signed icmp instructions properly. To do this we introduce a small inline function to sign extend a uint64_t value based on its type's bitwidth. This function is then used in both executeSExtInst and the various executeICMP_S** functions. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33403 91177308-0d34-0410-b5e6-96231b3b80d8