diff options
author | Chris Lattner <sabre@nondot.org> | 2008-01-07 06:21:53 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2008-01-07 06:21:53 +0000 |
commit | e32d765f99f7ee0b8f50e419a2e1beb41003c99f (patch) | |
tree | 735ee54462c29a90fbd7662788a29961a2210fc6 /lib/CodeGen/SelectionDAG/ScheduleDAG.cpp | |
parent | f86e1df8770faa76bb277d7c3c27a407869c6f0c (diff) |
add more and significantly better comments to the rest of the machineinstr
flags that can be set. Add predicates for the ones lacking it, and switch
some clients over to using the predicates instead of Flags directly.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45690 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG/ScheduleDAG.cpp')
-rw-r--r-- | lib/CodeGen/SelectionDAG/ScheduleDAG.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/SelectionDAG/ScheduleDAG.cpp b/lib/CodeGen/SelectionDAG/ScheduleDAG.cpp index df6503fd14..06bf010ba0 100644 --- a/lib/CodeGen/SelectionDAG/ScheduleDAG.cpp +++ b/lib/CodeGen/SelectionDAG/ScheduleDAG.cpp @@ -710,7 +710,7 @@ void ScheduleDAG::EmitNode(SDNode *Node, unsigned InstanceNo, } // Now that we have emitted all operands, emit this instruction itself. - if ((II.Flags & M_USES_CUSTOM_DAG_SCHED_INSERTION) == 0) { + if (!II.usesCustomDAGSchedInsertionHook()) { BB->insert(BB->end(), MI); } else { // Insert this instruction into the end of the basic block, potentially |