commit | 8170a6849ed370059676f94d8a00ae652873a394 | [log] [tgz] |
---|---|---|
author | Dan Gohman <gohman@apple.com> | Thu Apr 16 19:25:55 2009 +0000 |
committer | Dan Gohman <gohman@apple.com> | Thu Apr 16 19:25:55 2009 +0000 |
tree | 36aef840f9443704bb9d58e8fd8f4eb7ecdaaba4 | |
parent | 02f8c410148ba3b6009ed67df41e2c97c1c07c3a [diff] |
Fix a bug with inttoptr/ptrtoint casts where the pointer has a different size from the integer, requiring zero extension or truncation. Don't create ZExtInsts with pointer types. This fixes a regression in consumer-jpeg. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@69307 91177308-0d34-0410-b5e6-96231b3b80d8