hanchenye-llvm-project/llvm/tools/bugpoint
Brian Gesiak 274981eb83 [bugpoint][PR29027] Reduce function attributes
Summary:
In addition to reducing the functions in an LLVM module, bugpoint now
reduces the function attributes associated with each of the remaining
functions.

To test this, add a -bugpoint-crashfuncattr test pass, which crashes if
a function in the module has a "bugpoint-crash" attribute. A test case
demonstrates that the IR is reduced to just that one attribute.

Reviewers: MatzeB, silvas, davide, reames

Reviewed By: reames

Subscribers: reames, llvm-commits

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

llvm-svn: 349601
2018-12-19 03:42:19 +00:00
..
BugDriver.cpp Change the BugDriver to store the current module with std::unique_ptr. 2018-02-14 21:44:34 +00:00
BugDriver.h [bugpoint] Fix crash when testing for miscompilation. 2018-04-24 20:15:27 +00:00
CMakeLists.txt Link to AggressiveInstCombine in a few places. Unbreaks build for me. 2018-04-24 08:40:37 +00:00
CrashDebugger.cpp [bugpoint][PR29027] Reduce function attributes 2018-12-19 03:42:19 +00:00
ExecutionDriver.cpp [bugpoint] Find 'opt', etc., in bugpoint directory 2018-12-10 00:56:13 +00:00
ExtractFunction.cpp Rename DEBUG macro to LLVM_DEBUG. 2018-05-14 12:53:11 +00:00
FindBugs.cpp Change the BugDriver to store the current module with std::unique_ptr. 2018-02-14 21:44:34 +00:00
LLVMBuild.txt
ListReducer.h
Miscompilation.cpp [bugpoint] Fix crash when testing for miscompilation. 2018-04-24 20:15:27 +00:00
OptimizerDriver.cpp [bugpoint] Find 'opt', etc., in bugpoint directory 2018-12-10 00:56:13 +00:00
ToolRunner.cpp [bugpoint] Find 'opt', etc., in bugpoint directory 2018-12-10 00:56:13 +00:00
ToolRunner.h [bugpoint] Find 'opt', etc., in bugpoint directory 2018-12-10 00:56:13 +00:00
bugpoint.cpp IWYU for llvm-config.h in llvm, additions. 2018-04-30 14:59:11 +00:00