Blob Blame History Raw
commit 770707cd209a94b9fe19273b68ddb1cb84191399
Author: sewardj <sewardj@8f6e269a-dfd6-0310-a8e1-e2731360e62c>
Date:   Mon Mar 21 19:29:20 2016 +0000

    Make isZeroU handle the V256 case.  Fixes #356393.
    
    
    git-svn-id: svn://svn.valgrind.org/vex/trunk@3213 8f6e269a-dfd6-0310-a8e1-e2731360e62c

diff --git a/VEX/priv/ir_opt.c b/VEX/priv/ir_opt.c
index 7a7246a..4266823 100644
--- a/VEX/priv/ir_opt.c
+++ b/VEX/priv/ir_opt.c
@@ -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");
    }
 }