nak: Handle annotations in legalization
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31665>
This commit is contained in:
committed by
Marge Bot
parent
36d9d11882
commit
03a393d6ca
@@ -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(_)
|
||||
|
||||
Reference in New Issue
Block a user