Merge pull request #3189 from Sonicadvance1/remove_warnings_15

FEXCore: Removes a warning about assume discarding side-effects
This commit is contained in:
Ryan Houdek authored and GitHub committed 2023-10-09 17:26:14 -07:00
commit 462fff2c67
1 file changed
+1 -1
@@ -1328,7 +1328,7 @@ DEF_OP(Select) {
bool tests = Op->Cond == FEXCore::IR::COND_ANDZ ||
Op->Cond == FEXCore::IR::COND_ANDNZ;
LOGMAN_THROW_AA_FMT(!tests || IsGPR(Op->Cmp1.ID()), "Only GPRs can be tested");
LOGMAN_THROW_A_FMT(!tests || IsGPR(Op->Cmp1.ID()), "Only GPRs can be tested");
if (IsGPR(Op->Cmp1.ID())) {
const auto Src1 = GetReg(Op->Cmp1.ID());