<div dir="ltr"><br><br><div class="gmail_quote"><div dir="ltr">On Mon, Aug 24, 2015 at 10:06 PM Steve King <<a href="mailto:steve@metrokings.com">steve@metrokings.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Mon, Aug 24, 2015 at 7:53 PM, Eric Christopher <<a href="mailto:echristo@gmail.com" target="_blank">echristo@gmail.com</a>> wrote:<br>
> Bike shed: how about pass the function around instead.<br>
<br>
Mehdi Amini advised to pass attributes instead of the function.<br></blockquote><div><br></div><div> Huh. I wonder why? My logic: ISel lowering in general is subtarget based so we're already doing a lot of function based things around this. Also it means that you have to explicitly ask for the attribute set (which you obviously didn't have in either place) rather than the single place. I'm not wedded to it, but curious :)</div><div><br></div><div>-eric</div></div></div>