nak/legalize: Explicitly ignore OpPhiSrcs and OpPhiDsts

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29591>
This commit is contained in:
Faith Ekstrand 2024-06-06 18:07:35 -05:00 committed by Marge Bot
parent 66a5608c11
commit b47b8643b7

View file

@ -931,7 +931,8 @@ fn legalize_sm70_instr(
Op::Vote(op) => {
copy_src_if_upred(b, &mut op.pred);
}
Op::Copy(_) => (), // Nothing to do
Op::Copy(_) => (), // Nothing to do
Op::PhiSrcs(_) | Op::PhiDsts(_) => (), // Nothing to do
_ => {
let src_types = instr.src_types();
for (i, src) in instr.srcs_mut().iter_mut().enumerate() {