[PATCH] D148854: [llvm-stress] Switch to a FuzzMutate driver

Bjorn Pettersson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 4 15:22:05 PDT 2023


bjope added a comment.

Just for info:
Downstream we have some hacks (extra options) to avoid certain vector types, and also to avoid some variants of InsertElement and ExtractElement with non-constant indices.
One idea would be to add support in our backend for those things to get rid of the restrictions, or I guess we need to hack into FuzzMutate somehow.

IIUC the allowed vector types are specified in `addVectorTypeGetters` so at least that might not be that complicated to adjust that downstream.
I also think `llvm::fuzzerop::insertElementDescriptor` , `llvm::fuzzerop::extractElementDescriptor` is the place to edit if I want to add an option forcing the index to be a constant, right?

Not saying that our downstream adjustments really should block something like this from being committed upstream. I'm just trying to figure out how we eventually would deal with it downstream.


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