OSDN Git Service

Don't crash if the load/store pointer is not a GEP.
authorNadav Rotem <nrotem@apple.com>
Mon, 22 Oct 2012 18:27:56 +0000 (18:27 +0000)
committerNadav Rotem <nrotem@apple.com>
Mon, 22 Oct 2012 18:27:56 +0000 (18:27 +0000)
commit782090aa02484d7d1d335e3a7e209f1132aaa1a7
treec2535a2e31b8d190fb064ac95b6c90ddc5fc3f95
parent81750822f4f74801d219ad970be079c2f59b9d66
Don't crash if the load/store pointer is not a GEP.

Fix by Shivarama Rao <Shivarama.Rao@amd.com>

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@166427 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Vectorize/LoopVectorize.cpp
test/Transforms/LoopVectorize/2012-10-22-isconsec.ll [new file with mode: 0644]