From ca62898a114ed7f2e2f92ac15258fe99b09a36cd Mon Sep 17 00:00:00 2001 From: Vern Paxson Date: Wed, 15 May 2024 17:31:30 -0700 Subject: [PATCH] Fixed ZAM logic error in canonicalizing specialized min/max instructions --- src/script_opt/ZAM/Expr.cc | 1 - 1 file changed, 1 deletion(-) diff --git a/src/script_opt/ZAM/Expr.cc b/src/script_opt/ZAM/Expr.cc index facc6952ff..42bd16e6ff 100644 --- a/src/script_opt/ZAM/Expr.cc +++ b/src/script_opt/ZAM/Expr.cc @@ -242,7 +242,6 @@ const ZAMStmt ZAMCompiler::CompileZAMBuiltin(const NameExpr* lhs, const ScriptOp if ( op1->Tag() == EXPR_CONST ) { ASSERT(op2->Tag() != EXPR_CONST); std::swap(op1, op2); - is_min = ! is_min; } ZOp op;