[llvm-commits] [llvm] r49243 - /llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
Duncan Sands
baldrick at free.fr
Fri Apr 4 23:49:48 PDT 2008
Hi Dale,
> - DAG.setRoot(DAG.getNode(ISD::LABEL, MVT::Other, getRoot(),
> + // Both PendingLoads and PendingExports must be flushed here;
> + // this call might not return.
> + (void)getRoot();
> + DAG.setRoot(DAG.getNode(ISD::LABEL, MVT::Other, getControlRoot(),
> DAG.getConstant(BeginLabel, MVT::i32),
> DAG.getConstant(1, MVT::i32)));
can you please explain what this is doing. What is getControlRoot()
and what's up with the (void)getRoot() call?
Thanks,
Duncan.
More information about the llvm-commits
mailing list