[PATCH] Fix crash when looking up the addrspace of GEPs with vector types

Björn Steinbrink bsteinbr at gmail.com
Sun Aug 31 13:07:00 PDT 2014


Updated the patch to use getPointerAddressSpace(), couldn't find a different
pass that triggers the bug though, so the test still uses mergefunc

http://reviews.llvm.org/D5136

Files:
  include/llvm/IR/Operator.h
  test/Transforms/MergeFunc/vector-GEP-crash.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D5136.13130.patch
Type: text/x-patch
Size: 1065 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140831/d0b93d81/attachment.bin>


More information about the llvm-commits mailing list