Skip to content
Snippets Groups Projects
Commit 99cdc019 authored by Timothy Arceri's avatar Timothy Arceri
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>
parent 6e1a1428
No related branches found
No related tags found
Loading
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