Skip to content
Commit 30e36c9b authored by Joseph Huber's avatar Joseph Huber Committed by Huber, Joseph
Browse files

[Attributor] Add interface to emit remarks in Attributor

Summary:
This patch adds support for the Attributor to emit remarks on behalf of some
other pass. The attributor can now optionally take a callback function that
returns an OptimizationRemarkEmitter object when given a Function pointer. If
this is availible then a remark will be emitted for the corresponding pass
name.

Depends on d1021978

Reviewed By: sstefan1 thegameg

Differential Revision: https://reviews.llvm.org/D102444
parent 015c27ca
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment