[PATCH] D148854: [llvm-stress] Switch to a FuzzMutate driver
Peter Rong via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Aug 4 15:42:51 PDT 2023
Peter added a comment.
1. Yes, you can modify TypeGetter to enable or disable certain types.
2. Yes, we use a lambda expression to describe the requirement for each operand. For example, extractElementDescriptor <https://github.com/llvm/llvm-project/blob/932c63550ad5752ba333a7a4e0045b559c65840b/llvm/lib/FuzzMutate/Operations.cpp#L317> says that extract element needs `{anyVectorType(), anyIntType()}`, i.e., the second operand (index) needs to be an integer. For your use case, you can change it to something like `anyConstInt`.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D148854/new/
https://reviews.llvm.org/D148854
More information about the llvm-commits
mailing list