agx: Add loop header? flag
This is useful for deciding whether we need to fix up phis in RA. Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23832>
This commit is contained in:

committed by
Marge Bot

parent
a2dbe6b688
commit
923b966775
@@ -358,6 +358,11 @@ typedef struct agx_block {
|
||||
/* Register allocation */
|
||||
BITSET_DECLARE(regs_out, AGX_NUM_REGS);
|
||||
|
||||
/* Is this block a loop header? If not, all of its predecessors precede it in
|
||||
* source order.
|
||||
*/
|
||||
bool loop_header;
|
||||
|
||||
/* Offset of the block in the emitted binary */
|
||||
off_t offset;
|
||||
|
||||
|
Reference in New Issue
Block a user