Cleanup handling of constant function casts.
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Tue, 17 Sep 2013 21:10:14 +0000 (21:10 +0000)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Tue, 17 Sep 2013 21:10:14 +0000 (21:10 +0000)
commit3e1c40de7f33db639698982bb58d8c2c8d7d5780
tree7fb1ab1e938952c73d376f319ee0e58b2f78d83d
parent3789209b79ba8097cc489630c005898365134f65
Cleanup handling of constant function casts.

Some of this code is no longer necessary since int<->ptr casts are no
longer occur as of r187444.

This also fixes handling vectors of pointers, and adds a bunch of new
testcases for vectors and address spaces.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@190885 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/InstCombine/InstCombineCalls.cpp
test/Transforms/InstCombine/call.ll