]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
VEX: Fix function mkOnesOfPrimopResultType
authorFlorian Krohm <flo2030@eich-krohm.de>
Wed, 3 Sep 2025 14:48:39 +0000 (14:48 +0000)
committerFlorian Krohm <flo2030@eich-krohm.de>
Wed, 3 Sep 2025 14:48:39 +0000 (14:48 +0000)
This function may be called with Iop_Max32U as argument which isn't
handled.

VEX/priv/ir_opt.c

index 6d34a17500e94bb853dddd9852141a6cc16b08ae..86f3fad276b40ffe8a2dd57a12ec3420f361752e 100644 (file)
@@ -1280,6 +1280,7 @@ static IRExpr* mkOnesOfPrimopResultType ( IROp op )
       case Iop_Or16:
          return IRExpr_Const(IRConst_U16(0xFFFF));
       case Iop_Or32:
+      case Iop_Max32U:
          return IRExpr_Const(IRConst_U32(0xFFFFFFFF));
       case Iop_CmpEQ8x8:
       case Iop_CmpEQ16x4: