[all-commits] [llvm/llvm-project] ce3c3c: [llvm-reduce] Check if reduction fails/is redundan...

aeubanks via All-commits all-commits at lists.llvm.org
Tue Oct 18 08:44:15 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ce3c3cb2912425bb4367bfbe9a4c68a6d6f0a04a
      https://github.com/llvm/llvm-project/commit/ce3c3cb2912425bb4367bfbe9a4c68a6d6f0a04a
  Author: Arthur Eubanks <aeubanks at google.com>
  Date:   2022-10-18 (Tue, 18 Oct 2022)

  Changed paths:
    A llvm/test/tools/llvm-reduce/oracle-count.ll
    M llvm/tools/llvm-reduce/deltas/ReduceOpcodes.cpp
    M llvm/tools/llvm-reduce/deltas/ReduceOperands.cpp
    M llvm/tools/llvm-reduce/deltas/SimplifyInstructions.cpp

  Log Message:
  -----------
  [llvm-reduce] Check if reduction fails/is redundant before invoking oracle

So we don't over count the number of chunks and do unnecessary work reducing more chunks than exist.

This lowers some random reduction I tested with locally from 250s to 232s.

Reviewed By: arsenm

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




More information about the All-commits mailing list