[PATCH] D84318: [Reduce] Rewrite runDeltaPass() workloop: do reduce a single and/or last target

Roman Lebedev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 22 06:16:55 PDT 2020


lebedev.ri created this revision.
lebedev.ri added reviewers: dblaikie, nickdesaulniers, diegotf.
lebedev.ri added a project: LLVM.

If there was a single target to begin with, because a single target
can only occupy a single chunk, we couldn't increase granularity.
and would immediately give up.

Likewise, if we had multiple targets, if by the end we'd end up with
a single target, we wouldn't finish reducing it, it would always
end up being "interesting"


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D84318

Files:
  llvm/test/Reduce/remove-all-of-multiple-args.ll
  llvm/test/Reduce/remove-single-arg.ll
  llvm/tools/llvm-reduce/deltas/Delta.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D84318.279792.patch
Type: text/x-patch
Size: 4323 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200722/43723f7e/attachment.bin>


More information about the llvm-commits mailing list