Update GVN to support vectors of pointers.
authorHal Finkel <hfinkel@anl.gov>
Wed, 24 Oct 2012 21:22:30 +0000 (21:22 +0000)
committerHal Finkel <hfinkel@anl.gov>
Wed, 24 Oct 2012 21:22:30 +0000 (21:22 +0000)
commitaacb68806f4cb05b0b8102a188726e5b13f2a759
tree1b7fb8a23523602b647ae6442a0d7f6e64783cf9
parent4332bdcb5f03787b7805ba70434138d6a50cc103
Update GVN to support vectors of pointers.

GVN will now generate ptrtoint instructions for vectors of pointers.
Fixes PR14166.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@166624 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/GVN.cpp
test/Transforms/GVN/pr14166.ll [new file with mode: 0644]