agx: Add phi pseudo instruction
For SSA. Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16268>
This commit is contained in:
@@ -255,3 +255,7 @@ op("or", _, srcs = 2)
|
|||||||
op("p_combine", _, srcs = 4)
|
op("p_combine", _, srcs = 4)
|
||||||
op("p_split", _, srcs = 1, dests = 4)
|
op("p_split", _, srcs = 1, dests = 4)
|
||||||
op("p_extract", _, srcs = 1, imms = [COMPONENT])
|
op("p_extract", _, srcs = 1, imms = [COMPONENT])
|
||||||
|
|
||||||
|
# Phis are special-cased in the IR as they (uniquely) can take an unbounded
|
||||||
|
# number of source.
|
||||||
|
op("phi", _, srcs = 0)
|
||||||
|
Reference in New Issue
Block a user