<div dir="ltr"><div>Hi Johannes,</div><div>I am trying to use the Attributor framework for AMD GPU backend. We have an attributor called amdgpu-flat-work-group-size which basically specifies the min and max work group configuration for the kernel. Typically, this attribute is given on kernels but it can also be present on device functions. It needs to be propagated across the call graph with a merge function which does "max" of the all incoming attributes of type amdgpu-flat-work-group-size.</div><div><br></div><div>How do I write an Attributor pass for this? <br></div><div><br></div><div>I do understand that I need to model the attribute as a class (like AANoUnwind) but I am not sure if I totally understand the significance of pessimistic/optimistic fixpoint for this attribute.</div><div><br></div><div><br></div><div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><i style="font-size:12.8px">Disclaimer: Views, concerns, thoughts, questions, ideas expressed in this mail are of my own and my employer has no take in it. </i><br></div><div>Thank You.<br>Madhur D. Amilkanthwar<br><br></div></div></div></div></div>