From 8b18ccae9b8f531c3c0757f6c0eb24c9c295cc64 Mon Sep 17 00:00:00 2001 From: Julian Seward Date: Sat, 27 Jan 2007 00:46:28 +0000 Subject: [PATCH] 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 --- VEX/priv/ir/irdefs.c | 2 ++ 1 file changed, 2 insertions(+) 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"); } } -- 2.47.2