[PATCH] D113787: [llvm-reduce] keep terminator instructions during ReduceGlobalVars
Dwight Guth via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Nov 15 10:56:01 PST 2021
dwightguth added a comment.
For reference, this is exactly what I am currently using llvm-reduce to do: I have a bug in the code generator that I am trying to construct a minimal example for. I can't test compilation passes because the bug isn't in a compiler pass, it's in the backend. I can't use bugpoint because bugpoint relies on having a "safe" compiler for the program, and I don't have one of those. If you know of another tool that I can use to minimize llvm IR for the purposes of reproducing miscompilations, I'd be happy to use it instead. But the claim that it's specifically not designed to reduce miscompilations seems vacuous to me when it is demonstrably currently capable of doing exactly that.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D113787/new/
https://reviews.llvm.org/D113787
More information about the llvm-commits
mailing list