[all-commits] [llvm/llvm-project] 77bc3b: [NFC][llvm-reduce] Cleanup types

aeubanks via All-commits all-commits at lists.llvm.org
Sun Oct 10 18:13:00 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 77bc3ba3650eccde2f1cf7326e76eb6c14ed08a3
      https://github.com/llvm/llvm-project/commit/77bc3ba3650eccde2f1cf7326e76eb6c14ed08a3
  Author: Arthur Eubanks <aeubanks at google.com>
  Date:   2021-10-10 (Sun, 10 Oct 2021)

  Changed paths:
    M llvm/tools/llvm-reduce/TestRunner.cpp
    M llvm/tools/llvm-reduce/TestRunner.h
    M llvm/tools/llvm-reduce/deltas/Delta.cpp
    M llvm/tools/llvm-reduce/deltas/Delta.h
    M llvm/tools/llvm-reduce/deltas/ReduceAliases.cpp
    M llvm/tools/llvm-reduce/deltas/ReduceArguments.cpp
    M llvm/tools/llvm-reduce/deltas/ReduceAttributes.cpp
    M llvm/tools/llvm-reduce/deltas/ReduceBasicBlocks.cpp
    M llvm/tools/llvm-reduce/deltas/ReduceFunctionBodies.cpp
    M llvm/tools/llvm-reduce/deltas/ReduceFunctions.cpp
    M llvm/tools/llvm-reduce/deltas/ReduceGlobalValues.cpp
    M llvm/tools/llvm-reduce/deltas/ReduceGlobalVarInitializers.cpp
    M llvm/tools/llvm-reduce/deltas/ReduceGlobalVars.cpp
    M llvm/tools/llvm-reduce/deltas/ReduceInstructions.cpp
    M llvm/tools/llvm-reduce/deltas/ReduceMetadata.cpp
    M llvm/tools/llvm-reduce/deltas/ReduceModuleData.cpp
    M llvm/tools/llvm-reduce/deltas/ReduceOperandBundles.cpp
    M llvm/tools/llvm-reduce/deltas/ReduceOperands.cpp
    M llvm/tools/llvm-reduce/deltas/ReduceSpecialGlobals.cpp
    M llvm/tools/llvm-reduce/llvm-reduce.cpp

  Log Message:
  -----------
  [NFC][llvm-reduce] Cleanup types

Use Module& wherever possible.
Since every reduction immediately turns Chunks into an Oracle, directly pass Oracle instead.

Reviewed By: hans

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




More information about the All-commits mailing list