f096bf
commit 770707cd209a94b9fe19273b68ddb1cb84191399
f096bf
Author: sewardj <sewardj@8f6e269a-dfd6-0310-a8e1-e2731360e62c>
f096bf
Date:   Mon Mar 21 19:29:20 2016 +0000
f096bf
f096bf
    Make isZeroU handle the V256 case.  Fixes #356393.
f096bf
    
f096bf
    
f096bf
    git-svn-id: svn://svn.valgrind.org/vex/trunk@3213 8f6e269a-dfd6-0310-a8e1-e2731360e62c
f096bf
f096bf
diff --git a/VEX/priv/ir_opt.c b/VEX/priv/ir_opt.c
f096bf
index 7a7246a..4266823 100644
f096bf
--- a/VEX/priv/ir_opt.c
f096bf
+++ b/VEX/priv/ir_opt.c
f096bf
@@ -1223,6 +1223,7 @@ static Bool isZeroU ( IRExpr* e )
f096bf
       case Ico_U16:   return toBool( e->Iex.Const.con->Ico.U16 == 0);
f096bf
       case Ico_U32:   return toBool( e->Iex.Const.con->Ico.U32 == 0);
f096bf
       case Ico_U64:   return toBool( e->Iex.Const.con->Ico.U64 == 0);
f096bf
+      case Ico_V256:  return toBool( e->Iex.Const.con->Ico.V256 == 0x00000000);
f096bf
       default: vpanic("isZeroU");
f096bf
    }
f096bf
 }