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

Björn Steinbrink bsteinbr at gmail.com
Mon Sep 1 12:42:19 PDT 2014

Had another look, still couldn't find anything. The code is either using GetElementPtrInst instead of GEPOperator, calls getType()->getPointerAddressSpace() or checks for vector types beforehand, so it doesn't trigger the bug. Alias analysis seemed like it could work, but I didn't manage to get a testcase with that either (and I'm too clueless about that code).

Anyway, could someone please land this for me? I don't have commit access. Thanks!


More information about the llvm-commits mailing list