[PATCH] D113816: [llvm-reduce] Assert that the number of chunks does not change with reductions
Jay Foad via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Mar 2 07:35:39 PST 2023
foad added inline comments.
Herald added a project: All.
================
Comment at: llvm/tools/llvm-reduce/deltas/Delta.cpp:241
+ "input module is broken after counting chunks");
+ assert(isReduced(Test.getProgram(), Test, CurrentFilepath) &&
+ "input module no longer interesting after counting chunks");
----------------
Hi! I've hit this assertion failure because I'm using llvm-reduce to reduce a compile-time hog, so the interestingness test ("does it take longer than 1 second to compile") is not 100% consistent. Of course it seems to me like llvm-reduce ought to support this use case. Any thoughts?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D113816/new/
https://reviews.llvm.org/D113816
More information about the llvm-commits
mailing list