quick nerdsnipe for compiler and testing nerds:
I have a simple LLVM IR generator that I'm using to fuzz a few things (including LLVM's middle end and AArch64 backend) and I want to generate maximally hostile integer constants. a uniform random 64-bit constant is suboptimal since it is unlikely to trigger optimizations that key on e.g. -1.
my current idea is 50% uniform random and 50% values that are very close to a power of 2.
anyone got a better plan?