From: Julian Seward Date: Sat, 27 Jan 2007 00:46:28 +0000 (+0000) Subject: Fill in missing cases in eqIRConst. This stops iropt's CSE pass from X-Git-Tag: svn/VALGRIND_3_3_1^2~57 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8b18ccae9b8f531c3c0757f6c0eb24c9c295cc64;p=thirdparty%2Fvalgrind.git Fill in missing cases in eqIRConst. This stops iropt's CSE pass from asserting in the presence of V128 immediates, which is a regression in valgrind 3.2.2. git-svn-id: svn://svn.valgrind.org/vex/trunk@1731 --- diff --git a/VEX/priv/ir/irdefs.c b/VEX/priv/ir/irdefs.c index a6462ba0d4..15d3dcc828 100644 --- a/VEX/priv/ir/irdefs.c +++ b/VEX/priv/ir/irdefs.c @@ -2607,6 +2607,8 @@ Bool eqIRConst ( IRConst* c1, IRConst* c2 ) case Ico_U32: return toBool( c1->Ico.U32 == c2->Ico.U32 ); case Ico_U64: return toBool( c1->Ico.U64 == c2->Ico.U64 ); case Ico_F64: return toBool( c1->Ico.F64 == c2->Ico.F64 ); + case Ico_F64i: return toBool( c1->Ico.F64i == c2->Ico.F64i ); + case Ico_V128: return toBool( c1->Ico.V128 == c2->Ico.V128 ); default: vpanic("eqIRConst"); } }