Changes from review:

- Move DisableScheduling flag into TargetOption.h
- Move SDNodeOrdering into its own header file. Give it a minimal interface that
  doesn't conflate construction with storage.
- Move assigning the ordering into the SelectionDAGBuilder.

This isn't used yet, so there should be no functional changes.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91727 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Bill Wendling
2009-12-18 23:32:53 +00:00
parent 28680d33ee
commit b4e6a5df5d
8 changed files with 144 additions and 193 deletions

View File

@@ -141,6 +141,11 @@ namespace llvm {
/// wth earlier copy coalescing.
extern bool StrongPHIElim;
/// DisableScheduling - This flag disables instruction scheduling. In
/// particular, it assigns an ordering to the SDNodes, which the scheduler
/// uses instead of its normal heuristics to perform scheduling.
extern bool DisableScheduling;
} // End llvm namespace
#endif