[PATCH] D55216: [bugpoint][PR29027] Reduce function attributes

Brian Gesiak via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 3 06:58:08 PST 2018


modocache created this revision.
modocache added reviewers: MatzeB, silvas, davide.

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.


Repository:
  rL LLVM

https://reviews.llvm.org/D55216

Files:
  test/BugPoint/func-attrs.ll
  tools/bugpoint-passes/TestPasses.cpp
  tools/bugpoint/CrashDebugger.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D55216.176395.patch
Type: text/x-patch
Size: 5296 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181203/9a4ed653/attachment.bin>


More information about the llvm-commits mailing list