LangRef.html says that inttoptr and ptrtoint always use zero-extension
authorDan Gohman <gohman@apple.com>
Tue, 2 Feb 2010 01:44:02 +0000 (01:44 +0000)
committerDan Gohman <gohman@apple.com>
Tue, 2 Feb 2010 01:44:02 +0000 (01:44 +0000)
commit3b5487e6276ba60484c1af10a857a1675462c102
treed151f57138cfc81279317bb3ac681031dd73a70e
parent6acb86dcfa1ff4e38d2f189ab09e3fbe22f248a7
LangRef.html says that inttoptr and ptrtoint always use zero-extension
when the cast is extending.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@95046 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/InstCombine/InstCombineCasts.cpp