[PATCH] D113787: [llvm-reduce] keep terminator instructions during ReduceGlobalVars
Arthur Eubanks via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Nov 15 10:49:23 PST 2021
aeubanks added a comment.
In D113787#3132163 <https://reviews.llvm.org/D113787#3132163>, @dwightguth wrote:
> Sure, but it can also be used to reproduce a small test case for a program that was miscompiled. But it won't do that effectively if individual delta passes, when run, crash unnecessarily in uninteresting ways. If we make this change, you will be making the tool considerably less useful for minimizing programs that are miscompiled by the compiler.
I think you'll want another tool that specifically does that since this tool specifically does not do that. For example, something that runs specific optimization passes one at a time, perhaps on a function at a time for function passes.
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