Skip to content
Snippets Groups Projects
Commit c9e2de33 authored by Timothy Arceri's avatar Timothy Arceri Committed by Juan A. Suárez
Browse files

ac: make use of if/loop build helpers


These helpers insert the basic block in the same order as they
appear in NIR making it easier to follow LLVM IR dumps. The helpers
also insert more useful labels onto the blocks.

TGSI use the line number of the corresponding opcode in the TGSI
dump as the label id, here we use the corresponding block index
from NIR.

Reviewed-by: default avatarMarek Olšák <marek.olsak@amd.com>
(cherry picked from commit 99cdc019)
parent 7a02062d
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment