]> granicus.if.org Git - llvm/commit
Reapply llvm-reduce: Add pass to reduce parameters""
authorDavid Blaikie <dblaikie@gmail.com>
Thu, 12 Sep 2019 01:20:48 +0000 (01:20 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Thu, 12 Sep 2019 01:20:48 +0000 (01:20 +0000)
commitccef81bf7097189443cb6141028c29d5c1bf863c
treefa61738860cc06e95b900701a9ae4e1a69586067
parentbce28023861b2f622708e66464e051dc3faf8669
Reapply llvm-reduce: Add pass to reduce parameters""

Fixing a couple of asan-identified bugs
* use of an invalid "Use" iterator after the element was removed
* use of StringRef to Function name after the Function was erased

This reapplies r371567, which was reverted in r371580.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@371700 91177308-0d34-0410-b5e6-96231b3b80d8
test/Reduce/Inputs/remove-args.py [new file with mode: 0755]
test/Reduce/remove-args.ll [new file with mode: 0644]
tools/llvm-reduce/CMakeLists.txt
tools/llvm-reduce/DeltaManager.h
tools/llvm-reduce/deltas/ReduceArguments.cpp [new file with mode: 0644]
tools/llvm-reduce/deltas/ReduceArguments.h [new file with mode: 0644]