Skip to content
Commit c9e2de33 authored by Timothy Arceri's avatar Timothy Arceri Committed by Juan A. Suarez Romero
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
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment