[llvm-dev] [llvm-reduce] Reduction to undef/poison/null?

John Regehr via llvm-dev llvm-dev at lists.llvm.org
Tue Aug 31 08:02:46 PDT 2021


just want to add that my fork of llvm-reduce automates this trick, and 
has a few other nice improvements

https://github.com/regehr/llvm-project/tree/new-llvm-reduce-pass

I haven't yet done the "avoid undef/poison at all costs" thing, but will 
get around to it sometime hopefully.

John


On 8/30/21 12:26 PM, Nuno Lopes via llvm-dev wrote:
> What I usually end up doing when reducing by hand is to introduce a new 
> function parameter to replace a deleted instruction, e.g.:


More information about the llvm-dev mailing list