]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Don't complain endlessly about missing folding rule for Iop_64HLto128.
authorJulian Seward <jseward@acm.org>
Mon, 2 May 2005 10:47:22 +0000 (10:47 +0000)
committerJulian Seward <jseward@acm.org>
Mon, 2 May 2005 10:47:22 +0000 (10:47 +0000)
git-svn-id: svn://svn.valgrind.org/vex/trunk@1152

VEX/priv/ir/iropt.c

index b78b8f6c4917cb0374dc3cafdbf75f0c79ffe736..0832bc1904d4645fd11a4ce6c234fba03fbdd6c3 100644 (file)
@@ -1283,6 +1283,12 @@ static IRExpr* fold_Expr ( IRExpr* e )
                        | ((ULong)(e->Iex.Binop.arg2->Iex.Const.con->Ico.U32)) 
                     ));
                break;
+            case Iop_64HLto128:
+               /* We can't fold this, because there is no way to
+                  express he result in IR, but at least pretend to
+                  handle it, so as to stop getting blasted with
+                  no-rule-for-this-primop messages. */
+               break;
 
             default:
                goto unhandled;