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 | 08a69ac2f59d54fdcefff232eb2c512f8d1aeb79 (patch) | |
tree | 83d4bc9afdc07929e92de9c94e29fbe8c70db1c6 /llvm/lib/CodeGen/SelectionDAG/ScheduleDAG.cpp | |
parent | 769c86bf636b4eb1913dfdd2fc466a6ada1201d4 (diff) | |
download | bcm5719-llvm-08a69ac2f59d54fdcefff232eb2c512f8d1aeb79.tar.gz bcm5719-llvm-08a69ac2f59d54fdcefff232eb2c512f8d1aeb79.zip |
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.
llvm-svn: 45690
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/ScheduleDAG.cpp')
-rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/ScheduleDAG.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/ScheduleDAG.cpp b/llvm/lib/CodeGen/SelectionDAG/ScheduleDAG.cpp index df6503fd144..06bf010ba0e 100644 --- a/llvm/lib/CodeGen/SelectionDAG/ScheduleDAG.cpp +++ b/llvm/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 |