[PATCH] D103129: [llvm-reduce] Don't delete arguments of intrinsics
Langston Barrett via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 21 10:26:15 PDT 2021
langston-barrett updated this revision to Diff 353415.
langston-barrett added a comment.
Maybe fix uploaded diff (I'm new to Phabricator)
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D103129/new/
https://reviews.llvm.org/D103129
Files:
llvm/tools/llvm-reduce/deltas/ReduceArguments.cpp
Index: llvm/tools/llvm-reduce/deltas/ReduceArguments.cpp
===================================================================
--- llvm/tools/llvm-reduce/deltas/ReduceArguments.cpp
+++ llvm/tools/llvm-reduce/deltas/ReduceArguments.cpp
@@ -7,7 +7,7 @@
//===----------------------------------------------------------------------===//
//
// This file implements a function which calls the Generic Delta pass in order
-// to reduce uninteresting Arguments from defined functions.
+// to reduce uninteresting Arguments from declared and defined functions.
//
//===----------------------------------------------------------------------===//
@@ -109,8 +109,8 @@
}
}
-/// Counts the amount of arguments in non-declaration functions and prints their
-/// respective name, index, and parent function name
+/// Counts the amount of arguments in functions and prints their respective
+/// name, index, and parent function name
static int countArguments(Module *Program) {
// TODO: Silence index with --quiet flag
outs() << "----------------------------\n";
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D103129.353415.patch
Type: text/x-patch
Size: 1063 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210621/91567d13/attachment-0001.bin>
More information about the llvm-commits
mailing list