Fix a bug in IntToPtr. Truncating to 64-bits only works if the integer
is larger. Adjust so that it truncates to pointer width, only if necessary.

llvm-svn: 34954
1 file changed
tree: 45a24d4307cadf04fbfbc183e4d56ef654eaad1f
  1. llvm/
  2. stacker/