Generalize the transform that boosts GEP indices to the size of a pointer to
authorDuncan Sands <baldrick@free.fr>
Sat, 3 Nov 2012 11:44:17 +0000 (11:44 +0000)
committerDuncan Sands <baldrick@free.fr>
Sat, 3 Nov 2012 11:44:17 +0000 (11:44 +0000)
commitc5b969a0194aa3e3d8170ddd38ab3cb8c9f3113c
tree769a1e504843006d492c42fd21ee786867bf8e57
parent3c77033a902af3185aa9a759c4a845fa359a475c
Generalize the transform that boosts GEP indices to the size of a pointer to
also do it for vectors of pointers.

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