[PATCH] D136634: llvm-reduce: Stop checking workitem is interesting before each pass

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 24 12:50:32 PDT 2022


arsenm created this revision.
arsenm added reviewers: regehr, aeubanks, dblaikie.
Herald added a project: All.
arsenm requested review of this revision.
Herald added a subscriber: wdng.
Herald added a project: LLVM.

Each delta pass run should have guaranteed the input is still
interesting, so it should be pointless to recheck this each
iteration. I have many issues that take multiple minutes
to reproduce, so this ends up being a huge waste of time.

      

Also, remove broken line counting. This never worked, since
getLines was failing to open the temporary file which was just
deleted.


https://reviews.llvm.org/D136634

Files:
  llvm/tools/llvm-reduce/deltas/Delta.cpp
  llvm/tools/llvm-reduce/llvm-reduce.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D136634.470267.patch
Type: text/x-patch
Size: 3925 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221024/5034e34c/attachment.bin>


More information about the llvm-commits mailing list