mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 02:58:05 +02:00
nak: Handle annotations in legalization
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31665>
This commit is contained in:
parent
36d9d11882
commit
03a393d6ca
1 changed files with 4 additions and 0 deletions
|
|
@ -293,6 +293,10 @@ fn legalize_instr(
|
|||
) {
|
||||
// Handle a few no-op cases up-front
|
||||
match &instr.op {
|
||||
Op::Annotate(_) => {
|
||||
// OpAnnotate does nothing. There's nothing to legalize.
|
||||
return;
|
||||
}
|
||||
Op::Undef(_)
|
||||
| Op::PhiSrcs(_)
|
||||
| Op::PhiDsts(_)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue