commit | 4e56ab2cf4ef7dc693b6110df60ce2a07187868f | [log] [tgz] |
---|---|---|
author | Evan Cheng <evan.cheng@apple.com> | Fri Jan 16 02:11:43 2009 +0000 |
committer | Evan Cheng <evan.cheng@apple.com> | Fri Jan 16 02:11:43 2009 +0000 |
tree | 20449b7813fb2b6fe368b2d79aa71440ceff5ec3 | |
parent | 05aae18165a41e2bb0e7de0eba2656cc5537b162 [diff] |
Clean up previous cast optimization a bit. Also make zext elimination a bit more aggressive: if it's not necessary to emit an AND (i.e. high bits are already zero), it's profitable to evaluate the operand at a different type. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@62297 91177308-0d34-0410-b5e6-96231b3b80d8