Fix crash when looking up the addrspace of GEPs with vector types
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Tue, 2 Sep 2014 18:47:54 +0000 (18:47 +0000)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Tue, 2 Sep 2014 18:47:54 +0000 (18:47 +0000)
commit0565503d5d66cbe9c0908595d11583bd67712d61
tree897751fcf09a2a25251a26bdce8f22d036f546df
parentf93099eb1ca6579eaea865c5f67dc0935d78e719
Fix crash when looking up the addrspace of GEPs with vector types

Patch by Björn Steinbrink

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@216930 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/IR/Operator.h
test/Transforms/MergeFunc/vector-GEP-crash.ll [new file with mode: 0644]