[PATCH] D40837: [FuzzMutate] Allow only sized pointers for the GEP instruction

Igor Laevsky via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 5 06:57:09 PST 2017


igor-laevsky created this revision.

We can't use arbitrary pointers inside of the GEP instruction. What we really need is a pointer which points to the sized object. There are potentially more constraints if we will ever generate more than a single index but this should work for now.


https://reviews.llvm.org/D40837

Files:
  include/llvm/FuzzMutate/OpDescriptor.h
  lib/FuzzMutate/Operations.cpp
  unittests/FuzzMutate/OperationsTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D40837.125520.patch
Type: text/x-patch
Size: 5081 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171205/24a06d38/attachment.bin>


More information about the llvm-commits mailing list