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.

llvm-svn: 69307
2 files changed
tree: 57f9df8008f6cdc23b8d90a03607699ea15c602b
  1. clang/
  2. llvm/