[all-commits] [llvm/llvm-project] 469cb7: [Reduce] Rewrite runDeltaPass() workloop: do reduc...

Roman Lebedev via All-commits all-commits at lists.llvm.org
Thu Jul 23 00:52:14 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 469cb724eea198d5ac0608e7828d0f92735dbaa1
      https://github.com/llvm/llvm-project/commit/469cb724eea198d5ac0608e7828d0f92735dbaa1
  Author: Roman Lebedev <lebedev.ri at gmail.com>
  Date:   2020-07-23 (Thu, 23 Jul 2020)

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

  Log Message:
  -----------
  [Reduce] Rewrite runDeltaPass() workloop: do reduce a single and/or last target

Summary:
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"

Reviewers: dblaikie, nickdesaulniers, diegotf

Reviewed By: dblaikie

Subscribers: llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D84318




More information about the All-commits mailing list