aco: don't allow SDWA on VOP3P instructions

Reviewed-by: Timur Kristóf <timur.kristof@gmail.com>
Cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13576>
This commit is contained in:
Daniel Schürmann 2021-12-20 10:46:43 +01:00 committed by Marge Bot
parent 90994e4db7
commit 1502c22e2c
1 changed files with 1 additions and 1 deletions

View File

@ -187,7 +187,7 @@ can_use_SDWA(chip_class chip, const aco_ptr<Instruction>& instr, bool pre_ra)
if (!instr->isVALU())
return false;
if (chip < GFX8 || instr->isDPP())
if (chip < GFX8 || instr->isDPP() || instr->isVOP3P())
return false;
if (instr->isSDWA())