mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 11:48:06 +02:00
gallivm: Comment lp_build_insert_new_block().
This commit is contained in:
parent
5b966f58e3
commit
4dfb43c6a6
1 changed files with 8 additions and 0 deletions
|
|
@ -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.
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue