<div dir="ltr"><br><br><div class="gmail_quote"><div dir="ltr">On Mon, Jun 22, 2015 at 1:49 PM Akira Hatanaka <<a href="mailto:ahatanak@gmail.com">ahatanak@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">In <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__reviews.llvm.org_D10414-23191915&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=BSqEv9KvKMW_Ob8SyngJ70KdZISM_ASROnREeq0cCxk&m=jR_JHq8wR25BAO9uXqzVddERgesOiqiXCSMUYrmRfCY&s=YpnIMncf1R6pDtUwTCH0hiRV5_5OH1Vt9bOjBuH5n70&e=" rel="noreferrer" target="_blank">http://reviews.llvm.org/D10414#191915</a>, @echristo wrote:<br>
<br>
> Another possibility is that this gets mapped as a normal command line option passed into cc1 and then it can just be a subtarget feature?<br>
<br>
<br>
Would it look something like this in the IR?<br>
<br>
"target-features"="+neon,+vfp3,arn-restrict-it=false"<br></blockquote><div><br></div><div>was thinking of more just:</div><div><br></div><div>"target-features"="+neon,+vfp3,-restrict-it"</div><div><br></div><div>Though if we're going for "restrict-it" blocks perhaps a better name that works well with +/-?</div><div><br></div><div>I've generally stayed away from turning command line options into features, but in the case of something that appears to turn on actual code generation features it seems like it might be reasonable.</div><div><br></div><div>-eric</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
<br>
<a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__reviews.llvm.org_D10414&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=BSqEv9KvKMW_Ob8SyngJ70KdZISM_ASROnREeq0cCxk&m=jR_JHq8wR25BAO9uXqzVddERgesOiqiXCSMUYrmRfCY&s=tQpGzcIey3nbdnin0oJVAJdSe2wu1_tRtehtKXqMdAo&e=" rel="noreferrer" target="_blank">http://reviews.llvm.org/D10414</a><br>
<br>
EMAIL PREFERENCES<br>
  <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__reviews.llvm.org_settings_panel_emailpreferences_&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=BSqEv9KvKMW_Ob8SyngJ70KdZISM_ASROnREeq0cCxk&m=jR_JHq8wR25BAO9uXqzVddERgesOiqiXCSMUYrmRfCY&s=Nc_baQyY-5qJas5etplTfHpMwWzKi1Q5LgPqiT1o8Y8&e=" rel="noreferrer" target="_blank">http://reviews.llvm.org/settings/panel/emailpreferences/</a><br>
<br>
<br>
</blockquote></div></div>