[llvm-bugs] [Bug 32352] New: Provide a way for OptimizationRemarkEmitter::allowExtraAnalysis to check if (specific) remarks are enabled
llvm-bugs at lists.llvm.org
Mon Mar 20 09:06:59 PDT 2017
Bug ID: 32352
Summary: Provide a way for
OptimizationRemarkEmitter::allowExtraAnalysis to check
if (specific) remarks are enabled
Assignee: unassignedbugs at nondot.org
Reporter: anemet at apple.com
CC: anemet at apple.com, llvm-bugs at lists.llvm.org
There is already a need for this. For example WholeProgramDevirt instantiates
a remark just to check its Enabled field to see if remarks are on or not. This
actually does not work because clang does not use the Enabled field only (opt's
Also GlobalISel wants to do something like this and it's currently using a
cl::opt as a work-around.
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-bugs