[PATCH] D127374: llvm-reduce: Add reduction pass to simplify instructions

Arthur Eubanks via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 9 10:29:47 PDT 2022


aeubanks accepted this revision.
aeubanks added inline comments.
This revision is now accepted and ready to land.


================
Comment at: llvm/test/tools/llvm-reduce/simplify-instructions.ll:1
+; RUN: llvm-reduce -abort-on-invalid-reduction -simplify-mir --delta-passes=simplify-instructions -mtriple=amdgcn-amd-amdhsa -mcpu=gfx900 --test FileCheck --test-arg --check-prefix=CHECK-INTERESTINGNESS --test-arg %s --test-arg --input-file %s -o %t 2> %t.log
+; RUN: FileCheck --check-prefix=RESULT %s < %t
----------------
not necessary


================
Comment at: llvm/tools/llvm-reduce/deltas/SimplifyInstructions.cpp:20-21
+
+/// Removes out-of-chunk arguments from functions, and modifies their calls
+/// accordingly. It also removes allocations of out-of-chunk arguments.
+static void extractInstrFromModule(Oracle &O, Module &Program) {
----------------
out of date comment (and the comment in the header too)


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D127374/new/

https://reviews.llvm.org/D127374



More information about the llvm-commits mailing list