Constant fold inttoptr and ptrtoint.
authorNick Lewycky <nicholas@mxc.ca>
Sat, 17 May 2008 09:03:26 +0000 (09:03 +0000)
committerNick Lewycky <nicholas@mxc.ca>
Sat, 17 May 2008 09:03:26 +0000 (09:03 +0000)
commitd24ae8703f2da048b351d6c9c83d1412439e737c
tree3516a81c3f26952b520be2210e95926b1494ca84
parentfc1efbbfbcd707c29bdab8a1adf7b649f42e9600
Constant fold inttoptr and ptrtoint.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51216 91177308-0d34-0410-b5e6-96231b3b80d8
lib/VMCore/ConstantFold.cpp
test/Transforms/InstCombine/2008-05-17-FoldIntToPtr.ll [new file with mode: 0644]