agx: Stub NIR backend compiler
authorAlyssa Rosenzweig <alyssa@rosenzweig.io>
Sun, 11 Apr 2021 02:03:19 +0000 (22:03 -0400)
committerAlyssa Rosenzweig <none>
Sun, 2 May 2021 21:41:10 +0000 (17:41 -0400)
commit2470a080d29efd440e4e3d5396d41391c45e12dc
tree13441663d77822901955a6385192e356243eaddf
parent719bf5152fd4f6760941885fd2ed7e91f86f5208
agx: Stub NIR backend compiler

A fork of the Bifrost compiler, tailored to AGX. nir_register support is
removed, as I want to use an SSA-based allocator for AGX. (There are no
VLIW-like requirements and extremely limited vector semantics, so we can
use an ACO approach with ease.)

Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Acked-by: Jason Ekstrand <jason@jlekstrand.net>
Acked-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10582>
src/asahi/compiler/agx_compile.c
src/asahi/compiler/agx_compiler.h [new file with mode: 0644]
src/asahi/compiler/agx_print.c [new file with mode: 0644]
src/asahi/compiler/cmdline.c
src/asahi/compiler/meson.build