]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Make isZeroU handle the V256 case. Fixes #356393.
authorJulian Seward <jseward@acm.org>
Mon, 21 Mar 2016 19:29:20 +0000 (19:29 +0000)
committerJulian Seward <jseward@acm.org>
Mon, 21 Mar 2016 19:29:20 +0000 (19:29 +0000)
git-svn-id: svn://svn.valgrind.org/vex/trunk@3213

VEX/priv/ir_opt.c

index 7a7246a345ed59415c6bb788edd9d424ae61d0cc..4266823f18888c3a4dafebe41145377bc70ddaa8 100644 (file)
@@ -1223,6 +1223,7 @@ static Bool isZeroU ( IRExpr* e )
       case Ico_U16:   return toBool( e->Iex.Const.con->Ico.U16 == 0);
       case Ico_U32:   return toBool( e->Iex.Const.con->Ico.U32 == 0);
       case Ico_U64:   return toBool( e->Iex.Const.con->Ico.U64 == 0);
+      case Ico_V256:  return toBool( e->Iex.Const.con->Ico.V256 == 0x00000000);
       default: vpanic("isZeroU");
    }
 }