<div dir="ltr">Just make it an enum ala FloatABI with a Default, SelectionDAG, FastISel and use that everywhere?<div><br></div><div>-eric</div></div><br><div class="gmail_quote"><div dir="ltr">On Thu, Nov 19, 2015 at 5:59 PM Paul Robinson <<a href="mailto:Paul_Robinson@playstation.sony.com">Paul_Robinson@playstation.sony.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">probinson added inline comments.<br>
<br>
================<br>
Comment at: include/llvm/Target/TargetMachine.h:105<br>
@@ -104,2 +104,3 @@<br>
   unsigned RequireStructuredCFG : 1;<br>
+  unsigned OptnoneUsesFastISel : 1;<br>
<br>
----------------<br>
echristo wrote:<br>
> No need for this.<br>
This is where LLVMTargetMachine records the state of the -fast-isel command-line option, which SelectionDAGISel needs.  SelectionDAGISel does not have direct access to the EnableFastISelOption flag.<br>
<br>
Unless you're now saying 'optnone' must always use FastISel? That wasn't the conclusion in the llvm-dev thread.<br>
<br>
<br>
<a href="http://reviews.llvm.org/D14792" rel="noreferrer" target="_blank">http://reviews.llvm.org/D14792</a><br>
<br>
<br>
<br>
</blockquote></div>