[PATCH] D14792: Have 'optnone' respect -fast-isel=false

Paul Robinson via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 23 11:22:54 PST 2015


probinson marked an inline comment as done.

================
Comment at: include/llvm/Target/TargetMachine.h:105
@@ -104,2 +104,3 @@
   unsigned RequireStructuredCFG : 1;
+  unsigned OptnoneUsesFastISel : 1;
 
----------------
probinson wrote:
> echristo wrote:
> > No need for this.
> 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.
> 
> Unless you're now saying 'optnone' must always use FastISel? That wasn't the conclusion in the llvm-dev thread.
Renamed to 'O0WantsFastISel' as suggested by dsanders.


http://reviews.llvm.org/D14792





More information about the llvm-commits mailing list