commit | c55b243bcd912858c4869285b7b6787b875275b1 | [log] [tgz] |
---|---|---|
author | Reid Spencer <rspencer@reidspencer.com> | Wed Dec 13 18:21:21 2006 +0000 |
committer | Reid Spencer <rspencer@reidspencer.com> | Wed Dec 13 18:21:21 2006 +0000 |
tree | 2d55de0a8ea3c6d6f5409129467aa422e2f15fd5 | |
parent | 308fce15ec5078541bea5a6988cb33f8b313171d [diff] |
Fix a bug in EvaluateInDifferentType. The type of operand should not be used to determine whether a ZExt or SExt cast is performed. Instead, pass an "isSigned" bool to the function and determine its value from the opcode of the cast involved. Also, clean up some cruft from previous patches. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32548 91177308-0d34-0410-b5e6-96231b3b80d8