[PATCH] D40394: [FuzzMutate] Don't create load as a new source if it doesn't match with the descriptor
Igor Laevsky via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Nov 23 07:44:12 PST 2017
igor-laevsky created this revision.
Herald added a subscriber: mgorny.
When we look for pointer which matches the operand descriptor, we test it using undef constant. In some cases it is possible that constant matches, but the load from pointer doesn't. In this patch I explicitly create the load and remove it later if it doesn't match.
https://reviews.llvm.org/D40394
Files:
lib/FuzzMutate/RandomIRBuilder.cpp
unittests/FuzzMutate/CMakeLists.txt
unittests/FuzzMutate/RandomIRBuilderTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D40394.124086.patch
Type: text/x-patch
Size: 4724 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171123/524a1cd0/attachment.bin>
More information about the llvm-commits
mailing list