gallivm: Comment lp_build_insert_new_block().

This commit is contained in:
José Fonseca 2010-10-17 13:41:45 -07:00
parent 5b966f58e3
commit 4dfb43c6a6

View file

@ -39,6 +39,14 @@
/**
* Insert a new block, right where builder is pointing to.
*
* This is useful important not only for aesthetic reasons, but also for
* performance reasons, as frequently run blocks should be laid out next to
* each other and fall-throughs maximized.
*
* See also llvm/lib/Transforms/Scalar/BasicBlockPlacement.cpp.
*
* Note: this function has no dependencies on the flow code and could
* be used elsewhere.
*/